aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/md/md.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index a71241c5ae72..a986845ea0c3 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -5356,6 +5356,7 @@ void md_write_start(mddev_t *mddev, struct bio *bi)
5356 mddev->ro = 0; 5356 mddev->ro = 0;
5357 set_bit(MD_RECOVERY_NEEDED, &mddev->recovery); 5357 set_bit(MD_RECOVERY_NEEDED, &mddev->recovery);
5358 md_wakeup_thread(mddev->thread); 5358 md_wakeup_thread(mddev->thread);
5359 md_wakeup_thread(mddev->sync_thread);
5359 } 5360 }
5360 atomic_inc(&mddev->writes_pending); 5361 atomic_inc(&mddev->writes_pending);
5361 if (mddev->in_sync) { 5362 if (mddev->in_sync) {