]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Manage: check alignment when stopping an array undergoing reshape.
authorNeilBrown <neilb@suse.de>
Mon, 1 Jul 2013 05:10:05 +0000 (15:10 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 1 Jul 2013 05:10:05 +0000 (15:10 +1000)
commit2eba849621011a5160b4597f82aa4ed0de7d4e64
treebc692036f3889927542d9d0d1b12a8b305e082f9
parentefc67e8e9fe430d5833236f16ea287ef363dadc5
Manage: check alignment when stopping an array undergoing reshape.

To be able to revert-reshape of raid4/5/6 which is changing
the number of devices, the reshape must has been stopped on a multiple
of the old and new stripe sizes.

The kernel only enforces the new stripe size multiple.

So we enforce the old-stripe-size multiple by careful use of
"sync_max" and monitoring "reshape_position".

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c
Manage.c
lib.c
mdadm.h
sysfs.c