Commit 86ad4cd
md: Don't flush sync_work in md_write_start()
Because flush sync_work may trigger mddev_suspend() if there are spares,
and this should never be done in IO path because mddev_suspend() is used
to wait for IO.
This problem is found by code review.
Fixes: bc08041 ("md: suspend array in md_start_sync() if array need reconfiguration")
Cc: [email protected]
Signed-off-by: Yu Kuai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Song Liu <[email protected]>1 parent ca95887 commit 86ad4cd
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8668 | 8668 | | |
8669 | 8669 | | |
8670 | 8670 | | |
8671 | | - | |
8672 | 8671 | | |
8673 | 8672 | | |
8674 | 8673 | | |
| |||
0 commit comments