block: add rq_flags to struct blk_mq_alloc_data
authorJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 15:32:57 +0000 (09:32 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 Oct 2021 14:43:15 +0000 (08:43 -0600)
commit56f8da642bd827ef50a952e7bc3728c5830452be
tree916416a924b3e3eaa85af1b2502df37114c7f66e
parent842e39b013465a279fb60348427b9309427a29de
block: add rq_flags to struct blk_mq_alloc_data

There's a hole here we can use, and it's faster to set this earlier
rather than need to check q->elevator multiple times.

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