]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ed3af6ef1b4d58918a73bc6c2ae7a2f8f3c71f1
tree916416a924b3e3eaa85af1b2502df37114c7f66e
parenta5baf0ad334b40035ea4009e063f3e79f8741c62
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