diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2016-06-13 17:55:14 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-06-14 18:52:12 -0400 |
commit | 9dbd1aa3a81c6166608fec87994b6c464701f73a (patch) | |
tree | 155675f621e26ad5e10ccac06b74a3bfc53336da /drivers/nfc/Makefile | |
parent | 40ba37e5647c9241cbf5f63495815d7022e00a29 (diff) |
dm raid: add reshaping support to the target
Add bool functions rs_is_recovering and rs_is_reshaping()
to test for ongoing recovery/reshaping respectively in order
to reject respective requests on ongoing ones.
Remove ctr array size check, because ti->len and array
sectors will differ during disk addition/removal reshape.
Use __is_raid10_near() rather than type string compare.
Introduce rs_check_reshape() and rs_start_reshape(),
use the former in the ctr to reject bogus rehsape requests
and the latter in preresume to actually start a reshape.
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/nfc/Makefile')
0 files changed, 0 insertions, 0 deletions