diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-10-14 11:17:43 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 06:17:36 -0600 |
commit | 09ce8744253a038eb658c14f9dc3b77fa021fc9f (patch) | |
tree | 819a1176d8f146fc9939b2924470831c23377187 /block/blk-mq.c | |
parent | fac7c6d529acf2b5428ad08c1b1127e29e570790 (diff) | |
download | lwn-09ce8744253a038eb658c14f9dc3b77fa021fc9f.tar.gz lwn-09ce8744253a038eb658c14f9dc3b77fa021fc9f.zip |
block: use flags instead of bit fields for blkdev_dio
This generates a lot better code for me, and bumps performance from
7650K IOPS to 7750K IOPS. Looking at profiles for the run and running
perf diff, it confirms that we're now sending a lot less time there:
6.38% -2.80% [kernel.vmlinux] [k] blkdev_direct_IO
Taking it from the 2nd most cycle consumer to only the 9th most at
3.35% of the CPU time.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions