summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-04-14 07:30:16 -0600
committerJens Axboe <axboe@kernel.dk>2023-04-16 13:01:35 -0600
commit3838c406a594f15600ad6f83c1e3b16bfd1829d0 (patch)
treec3fbb0bdfc6ea0316c1beb5d1836ceaf0f54cfce /block/blk-core.c
parent310e9c85c61a4393e772c9286947e259bb8c32a7 (diff)
downloadlinux-stable-3838c406a594f15600ad6f83c1e3b16bfd1829d0.tar.gz
linux-stable-3838c406a594f15600ad6f83c1e3b16bfd1829d0.tar.bz2
linux-stable-3838c406a594f15600ad6f83c1e3b16bfd1829d0.zip
block: re-arrange the struct block_device fields for better layout
This moves struct device out-of-line as it's just used at open/close time, so we can keep some of the commonly used fields closer together. On a standard setup, it also reduces the size from 864 bytes to 848 bytes. Yes, struct device is a pig... Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions