]> git.baikalelectronics.ru Git - kernel.git/commit
dm rq: leverage blk_mq_queue_busy() to check for outstanding IO
authorMike Snitzer <snitzer@redhat.com>
Thu, 6 Dec 2018 16:41:17 +0000 (11:41 -0500)
committerJens Axboe <axboe@kernel.dk>
Mon, 10 Dec 2018 15:30:37 +0000 (08:30 -0700)
commitcaf728b1dc70ead88b83763fbd38a2aa419e2b69
tree67c9990860e1ade506bdb69b04304a0b0e3f557d
parent614032c71372ba30f855e1bf397691c24d936174
dm rq: leverage blk_mq_queue_busy() to check for outstanding IO

Now that request-based dm-multipath only supports blk-mq, make use of
the newly introduced blk_mq_queue_busy() to check for outstanding IO --
rather than (ab)using the block core's in_flight counters.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm-rq.c