aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-07-03 15:59:06 +1000
committerNeilBrown <neilb@suse.de>2012-07-03 15:59:06 +1000
commitf456309106e9657645c81bce1a6bb3230393564e (patch)
tree0c24dc48b58913930702db35a0bef7d303dd1849 /drivers/md/raid1.c
parentmd/raid1: fix bug in read_balance introduced by hot-replace (diff)
downloadlinux-dev-f456309106e9657645c81bce1a6bb3230393564e.tar.xz
linux-dev-f456309106e9657645c81bce1a6bb3230393564e.zip
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: Alexander Lyakas <alex.bolshoy@gmail.com> Tested-by: Alexander Lyakas <alex.bolshoy@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions