]> www.infradead.org Git - users/jedix/linux-maple.git/commit
blk-mq: Export tagset iter function
authorSagi Grimberg <sagig@mellanox.com>
Tue, 3 Jan 2017 16:40:50 +0000 (08:40 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:41:26 +0000 (13:41 -0700)
commitd51cf486921485b49e84bd16b384f4fc57fc2f33
treef10a600f2aa39573992465a0fddbe3df428c3ae3
parente0af2d5754f0b98e1faf22a81f7eefc128c4ed7e
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>
(cherry picked from commit e0489487ec9cd79ee1fa0dc5d3789c08b0e51a2c)

Orabug: 25130845

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
block/blk-mq-tag.c
drivers/nvme/host/pci.c
include/linux/blk-mq.h