aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 8cc4bbcf9bf8..06f6e81f1516 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -8694,6 +8694,11 @@ static void check_sb_changes(struct mddev *mddev, struct md_rdev *rdev)
8694 ret = remove_and_add_spares(mddev, rdev2); 8694 ret = remove_and_add_spares(mddev, rdev2);
8695 pr_info("Activated spare: %s\n", 8695 pr_info("Activated spare: %s\n",
8696 bdevname(rdev2->bdev,b)); 8696 bdevname(rdev2->bdev,b));
8697 /* wakeup mddev->thread here, so array could
8698 * perform resync with the new activated disk */
8699 set_bit(MD_RECOVERY_NEEDED, &mddev->recovery);
8700 md_wakeup_thread(mddev->thread);
8701
8697 } 8702 }
8698 /* device faulty 8703 /* device faulty
8699 * We just want to do the minimum to mark the disk 8704 * We just want to do the minimum to mark the disk