diff options
author | 2021-10-18 11:39:45 -0600 | |
---|---|---|
committer | 2021-10-18 14:43:23 -0600 | |
commit | f09313c57a17683cbcb305989daf1d94b49fd32c (patch) | |
tree | e3c46d53930f6a7ba67f021f60ddb291f0722602 /drivers/fpga/fpga-mgr.c | |
parent | udf: use sb_bdev_nr_blocks (diff) | |
download | linux-dev-f09313c57a17683cbcb305989daf1d94b49fd32c.tar.xz linux-dev-f09313c57a17683cbcb305989daf1d94b49fd32c.zip |
block: cache inode size in bdev
Reading the inode size brings in a new cacheline for IO submit, and
it's in the hot path being checked for every single IO. When doing
millions of IOs per core per second, this is noticeable overhead.
Cache the nr_sectors in the bdev itself.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions