git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
md: make sure a reshape is started when device switches to read-write
[sfrench/cifs-2.6.git]
/
drivers
/
md
/
md.c
diff --git
a/drivers/md/md.c
b/drivers/md/md.c
index a71241c5ae72e7ed86152e5eeb98f1907df8f766..a986845ea0c332013bab98d4df3f2061d1c3175e 100644
(file)
--- a/
drivers/md/md.c
+++ b/
drivers/md/md.c
@@
-5356,6
+5356,7
@@
void md_write_start(mddev_t *mddev, struct bio *bi)
mddev->ro = 0;
set_bit(MD_RECOVERY_NEEDED, &mddev->recovery);
md_wakeup_thread(mddev->thread);
+ md_wakeup_thread(mddev->sync_thread);
}
atomic_inc(&mddev->writes_pending);
if (mddev->in_sync) {