diff options
author | Mike Snitzer <[email protected]> | 2018-12-11 09:10:26 -0500 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-12-11 07:40:02 -0700 |
commit | c4576aed8d85d808cd6443bda58393d525207d01 (patch) | |
tree | 909ff78658e5c82da4e8d575da1457dcaccd79bd /tools/perf/scripts/python | |
parent | 6451fe73fa0f542a49bfacd7205b88a597897f58 (diff) |
dm: fix request-based dm's use of dm_wait_for_completion
The md->wait waitqueue is used by both bio-based and request-based DM.
Commit dbd3bbd291 ("dm rq: leverage blk_mq_queue_busy() to check for
outstanding IO") lost sight of the requirement that
dm_wait_for_completion() must work with all types of DM devices.
Fix md_in_flight() to call the blk-mq or bio-based method accordingly.
Fixes: dbd3bbd291 ("dm rq: leverage blk_mq_queue_busy() to check for outstanding IO")
Signed-off-by: Mike Snitzer <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions