block: pass in blk_mq_tags to blk_mq_rq_ctx_init()
authorJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 15:32:58 +0000 (09:32 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 Oct 2021 14:43:15 +0000 (08:43 -0600)
commitfe6134f66906dfa16d4877cab60106275f48eef7
treef8286d153876987e207baea1f1615447f2d56bd2
parent56f8da642bd827ef50a952e7bc3728c5830452be
block: pass in blk_mq_tags to blk_mq_rq_ctx_init()

Instead of getting this from data for every invocation of request
initialization, pass it in as an argument instead.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/20211019153300.623322-3-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c