]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9a1460e045af5ca94afa48abab5ad5a4290af6b7
tree9c13440aca8386459f0179de71bba937c231ae12
parente15903211f991347386dfa7a996b88ad3fa783d0
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