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

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: default avatarHannes Reinecke <hare@suse.com>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent da7613b8
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