Skip to content
Commit da7613b8 authored by NeilBrown's avatar NeilBrown
Browse files

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: default avatarNeilBrown <neilb@suse.de>
parent 0c098220
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment