blk-mq: export blk_mq_tag_busy_iter
authorSam Bradshaw <sbradshaw@micron.com>
Fri, 23 May 2014 19:30:16 +0000 (13:30 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 23 May 2014 19:30:16 +0000 (13:30 -0600)
commitedf866b3805c5651bf7d035b72dc0190cb6ff4a7
tree92396c09eb02e704abee45c72988b2616b31b0de
parent07068d5b8ed8fa6759b2826ba9197e49b69a1fc3
blk-mq: export blk_mq_tag_busy_iter

Export the blk-mq in-flight tag iterator for driver consumption.
This is particularly useful in exception paths or SRSI where
in-flight IOs need to be cancelled and/or reissued. The NVMe driver
conversion will use this.

Signed-off-by: Sam Bradshaw <sbradshaw@micron.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-tag.c
block/blk-mq-tag.h
include/linux/blk-mq.h