aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorGoldwyn Rodrigues <rgoldwyn@suse.com>2015-12-21 10:51:00 +1100
committerNeilBrown <neilb@suse.com>2016-01-06 11:38:51 +1100
commit09afd2a8d6ad2c40f3c1ae0b3f83784864cf4c15 (patch)
tree7a7eb8384e6d0153265f5719b1ca6f8df8bf60a1 /drivers/md
parentmd-cluster: Fix the remove sequence with the new MD reload code (diff)
downloadlinux-dev-09afd2a8d6ad2c40f3c1ae0b3f83784864cf4c15.tar.xz
linux-dev-09afd2a8d6ad2c40f3c1ae0b3f83784864cf4c15.zip
md-cluster: Allow spare devices to be marked as faulty
If a spare device was marked faulty, it would not be reflected in receiving nodes because it would mark it as activated and continue. Continue the operation, so it may be set as faulty. Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/md.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index ab3995de0418..f2f855c203e5 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -9106,7 +9106,6 @@ static void check_sb_changes(struct mddev *mddev, struct md_rdev *rdev)
ret = remove_and_add_spares(mddev, rdev2);
pr_info("Activated spare: %s\n",
bdevname(rdev2->bdev,b));
- continue;
}
/* device faulty
* We just want to do the minimum to mark the disk