aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorYu Kuai <[email protected]>2024-08-01 20:47:46 +0800
committerSong Liu <[email protected]>2024-08-27 09:55:16 -0700
commit86ad4cda79e0dade87d4bb0d32e1fe541d4a63e8 (patch)
treeef200f496f7dbfbba02218eab9c1718a6bf4a1f3 /lib/netdev-notifier-error-inject.c
parentca958879ade564daa0e0fa82aeeccf3bc7f73edd (diff)
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: bc08041b32ab ("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]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions