summaryrefslogtreecommitdiff
path: root/block/blk-mq-tag.c
diff options
context:
space:
mode:
authorSam Bradshaw <sbradshaw@micron.com>2014-05-23 13:30:16 -0600
committerJens Axboe <axboe@fb.com>2014-05-23 13:30:16 -0600
commitedf866b3805c5651bf7d035b72dc0190cb6ff4a7 (patch)
tree92396c09eb02e704abee45c72988b2616b31b0de /block/blk-mq-tag.c
parent07068d5b8ed8fa6759b2826ba9197e49b69a1fc3 (diff)
downloadkernel-edf866b3805c5651bf7d035b72dc0190cb6ff4a7.tar.gz
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>
Diffstat (limited to 'block/blk-mq-tag.c')
-rw-r--r--block/blk-mq-tag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-mq-tag.c b/block/blk-mq-tag.c
index f6dea968b710..05e2baf4fa0d 100644
--- a/block/blk-mq-tag.c
+++ b/block/blk-mq-tag.c
@@ -400,6 +400,7 @@ void blk_mq_tag_busy_iter(struct blk_mq_tags *tags,
fn(data, tag_map);
kfree(tag_map);
}
+EXPORT_SYMBOL(blk_mq_tag_busy_iter);
static unsigned int bt_unused_tags(struct blk_mq_bitmap_tags *bt)
{