]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq-tag: change busy_iter_fn to return whether to continue or not
authorJens Axboe <axboe@kernel.dk>
Thu, 8 Nov 2018 17:24:07 +0000 (10:24 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Nov 2018 17:24:07 +0000 (10:24 -0700)
commitc4034a34805c292a157be4227e9a10515d4fd23a
tree580e8cf709bda194b7271ca9310f11ea0d8b14e3
parente08d47fcedb83c278dc8e0eb0add0751ca438416
blk-mq-tag: change busy_iter_fn to return whether to continue or not

We have this functionality in sbitmap, but we don't export it in
blk-mq for users of the tags busy iteration. This can be useful
for stopping the iteration, if the caller doesn't need to find
more requests.

Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-debugfs.c
block/blk-mq-tag.c
block/blk-mq.c
drivers/block/mtip32xx/mtip32xx.c
drivers/block/nbd.c
drivers/block/skd_main.c
drivers/nvme/host/core.c
drivers/nvme/host/fc.c
drivers/nvme/host/nvme.h
include/linux/blk-mq.h