block: improve layout of struct request
authorJens Axboe <axboe@kernel.dk>
Fri, 15 Oct 2021 21:03:52 +0000 (15:03 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 14:50:42 +0000 (08:50 -0600)
commitb60876296847e6cd7f1da4b8b7f0f31399d59aa1
treef71c15dbd75da149a1c63b8da73a9dbc11eb4345
parent9be3e06fb75abcca00c955af740fabff46a13452
block: improve layout of struct request

It's been a while since this was analyzed, move some members around to
better flow with the use case. Initial state up top, and queued state
after that. This improves my peak case by about 1.5%, from 7750K to
7900K IOPS.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk-mq.h