diff options
author | Ming Lei <[email protected]> | 2021-10-21 22:59:18 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-11-02 08:40:10 -0600 |
commit | a1c2f7e7f25c9d35d3bf046f99682c5373b20fa2 (patch) | |
tree | b342bc219e30aeb909d4ed7a619b10c09cd97e24 /tools/perf/util/trace-event-scripting.c | |
parent | b22809092c70099f4d8c3b6f3d34c5bc89b300ea (diff) |
dm: don't stop request queue after the dm device is suspended
For fixing queue quiesce race between driver and block layer(elevator
switch, update nr_requests, ...), we need to support concurrent quiesce
and unquiesce, which requires the two call to be balanced.
__bind() is only called from dm_swap_table() in which dm device has been
suspended already, so not necessary to stop queue again. With this way,
request queue quiesce and unquiesce can be balanced.
Reported-by: Yi Zhang <[email protected]>
Fixes: e70feb8b3e68 ("blk-mq: support concurrent queue quiesce/unquiesce")
Signed-off-by: Ming Lei <[email protected]>
Acked-by: Mike Snitzer <[email protected]>
Tested-by: Yi Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions