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

md: support re-add of recovering devices.



We currently only allow a device to be re-added if it appear to be
in-sync.  This is overly restrictive as it may be desirable to re-add
a device that is in the middle of recovery.

So remove the test for "InSync" - the test on rdev->raid_disk is
sufficient to ensure that the re-add will succeed.

Reported-by: default avatarAlexander Lyakas <alex.bolshoy@gmail.com>
Tested-by: default avatarAlexander Lyakas <alex.bolshoy@gmail.com>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 32644afd
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