]> git.ipfire.org Git - thirdparty/mdadm.git/commit
FIX: disks added beyond array should be counted during reshape
authorAdam Kwolek <adam.kwolek@intel.com>
Wed, 23 Feb 2011 13:51:39 +0000 (14:51 +0100)
committerNeilBrown <neilb@suse.de>
Sun, 27 Feb 2011 06:26:42 +0000 (17:26 +1100)
commit882029c86d9617e838c5159496119c85bd87e27e
treee155dbfd2e5921a32e7d8cbd254331534af4ca2f
parent0ac3f649307280651f5f190101fa77ac61d5e4ea
FIX: disks added beyond array should be counted during reshape

During expansion there is more working disks that array can have.
Disks with set raid_disk (not a spare disk) during reshape should be counted
to allow array state transition to read_only state.

Array reconfiguration to new geometry should be done before reshape will
be started.

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c