]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: Export tagset iter function
authorSagi Grimberg <sagig@mellanox.com>
Thu, 10 Mar 2016 11:58:46 +0000 (13:58 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 12 Apr 2016 19:43:53 +0000 (13:43 -0600)
commitb9a9c702e21243f223e78ae1c4bcdbacf6676436
treee970b4bbd0d17b9049b243171ed65438e3f5053a
parent8881285b81fb636b7853615d86607dcaefb9ba5f
blk-mq: Export tagset iter function

Its useful to iterate on all the active tags in cases
where we will need to fail all the queues IO.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
[hch: carefully check for valid tagsets]
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-tag.c
include/linux/blk-mq.h