]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit483f9b6ccf3926d893d65293db44e805d2a65c4d
treef71c15dbd75da149a1c63b8da73a9dbc11eb4345
parent29232cb4dff6ebea1b4b1afa3f59871a59f02f2e
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