summaryrefslogtreecommitdiff
path: root/block/blk.h
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2020-05-08 11:17:57 +0300
committerJens Axboe <axboe@kernel.dk>2020-05-13 05:31:39 +0300
commit520138c3b9425c615d1417687947d86821003319 (patch)
treee02efdb939842d33ab3df422f24c0a30e4fbbe99 /block/blk.h
parent07c4e1e834f8e7c991aa6dcb5ee0b7f2842e495d (diff)
downloadlinux-520138c3b9425c615d1417687947d86821003319.tar.xz
block: re-organize fields of 'struct hd_part'
Put all fields accessed in IO path together at the beginning of the struct, so that all can be fetched in single cacheline. Signed-off-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Christoph Hellwig <hch@infradead.org> Cc: Yufen Yu <yuyufen@huawei.com> Cc: Christoph Hellwig <hch@infradead.org> Cc: Hou Tao <houtao1@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions