block: prefetch request to be initialized
authorJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 15:32:59 +0000 (09:32 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 Oct 2021 14:43:15 +0000 (08:43 -0600)
commit92aff191cc5b15a56d10a7a1a0b4bc5f6e17fcf3
treea0bfe0b493d2bae15a7a27a6594804a3e5a246df
parentfe6134f66906dfa16d4877cab60106275f48eef7
block: prefetch request to be initialized

Now we have the tags available in __blk_mq_alloc_requests_batch(), we
can start fetching the first request cacheline before calling into the
request initialization.

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