]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - block/blk-mq.c
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)
commit7baa85727d0406ffd2b2303cd803a145aa35c505
tree580e8cf709bda194b7271ca9310f11ea0d8b14e3
parentc28445fa06a3a54e06938559b9514c5a7f01c90f
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