diff options
author | Yu Kuai <[email protected]> | 2023-06-28 09:29:30 +0800 |
---|---|---|
committer | Song Liu <[email protected]> | 2023-07-27 00:13:30 -0700 |
commit | b39f35ebe86d88788d85f61e83c81c308cb76727 (patch) | |
tree | 9922a4052570692e0c1a095b85bc7c85c300903c /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 02c67a3b72b13951c2ca134bd7065f03ec57946d (diff) |
md: don't quiesce in mddev_suspend()
Some levels doesn't implement "pers->quiesce", for example
raid0_quiesce() is empty, and now that all levels will drop 'active_io'
until io is done, wait for 'active_io' to be 0 is enough to make sure all
normal io is done, and percpu_ref_kill() for 'active_io' will make sure
no new normal io can be dispatched. There is no need to call
"pers->quiesce" anymore from mddev_suspend().
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/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions