block: introduce blk_mq_tagset_iter
authorSagi Grimberg <sagi@grimberg.me>
Wed, 11 Oct 2017 09:53:06 +0000 (12:53 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 18 Oct 2017 17:27:48 +0000 (19:27 +0200)
commit149e10f8ff71439014dff97987e90e87e2684a16
tree9c13440aca8386459f0179de71bba937c231ae12
parent761f2e1ed8822cf12378c857de337290d0c82a81
block: introduce blk_mq_tagset_iter

Iterator helper to apply a function on all the
tags in a given tagset. export it as it will be used
outside the block layer later on.

Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
block/blk-mq-tag.c
include/linux/blk-mq.h