commit | da7613b8b042ab1d3ea55459ed97301e4a2097bb | [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 | 5a6fe23c5fbbb15f3ff459752807a00ddf121c55 | |
parent | 0c098220e2320c1f0c9339d0ff05c5e04672133a [diff] |
md/raid5: improve removal of extra devices after reshape. After a reshape which reduced the number of devices we need to disconnect the extra devices. The code for this doesn't currently handle 'replacement' devices. It is very unlikely that such devices will be present, but it is safest to handle them anyway. So simplify the handling. Just clear In_sync and leave it to remove_and_add_spaces (which will be called soon) to do the real works. Signed-off-by: NeilBrown <neilb@suse.de>