]> git.karo-electronics.de Git - linux-beck.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)
commite0489487ec9cd79ee1fa0dc5d3789c08b0e51a2c
treee970b4bbd0d17b9049b243171ed65438e3f5053a
parent37e58237a16b94fcd2c2d1b7e9c6e1ca661c231b
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