commit | 63aced61023a054825ffd6e33ac1ab99036dadd2 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Tue May 22 13:55:33 2012 +1000 |
committer | NeilBrown <neilb@suse.de> | Tue May 22 13:55:33 2012 +1000 |
tree | b41a4cde223c78ec787df3b02d839e1242d2a9e5 | |
parent | da7613b8b042ab1d3ea55459ed97301e4a2097bb [diff] |
md/raid10: Remove extras after reshape to smaller number of devices. When a reshape which reduced the number of devices finishes we must remove the extra devices. So ensure that raid10_remove_disk won't try to keep them, and have raid10_finish_reshape clear the 'in_sync' flag. Then remove_and_add_spares will be able to remove them. Reported-by: Hannes Reinecke <hare@suse.com> Signed-off-by: NeilBrown <neilb@suse.de>