linux/block/partitions
Jens Axboe f09313c57a 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>
2021-10-18 14:43:23 -06:00
..
2021-10-18 14:43:23 -06:00
2020-03-24 07:57:08 -06:00
2021-08-30 18:52:11 -07:00
2020-03-24 07:57:08 -06:00