diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-12-18 05:11:17 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-12-18 05:31:42 +0100 |
commit | 3c94d83cb352627f221d971b05f163c17527de74 (patch) | |
tree | 60f1445af634c7162225f86c9a791b6e2a6b382c /block/blk-sysfs.c | |
parent | blk-mq: skip zero-queue maps in blk_mq_map_swqueue (diff) | |
download | linux-3c94d83cb352627f221d971b05f163c17527de74.tar.xz linux-3c94d83cb352627f221d971b05f163c17527de74.zip |
blk-mq: change blk_mq_queue_busy() to blk_mq_queue_inflight()
There's a single user of this function, dm, and dm just wants
to check if IO is inflight, not that it's just allocated.
This fixes a hang with srp/002 in blktests with dm, where it tries
to suspend but waits for inflight IO to finish first. As it checks
for just allocated requests, this fails.
Tested-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions