diff options
author | Ming Lei <ming.lei@redhat.com> | 2020-05-08 16:17:57 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-12 20:31:39 -0600 |
commit | 520138c3b9425c615d1417687947d86821003319 (patch) | |
tree | e02efdb939842d33ab3df422f24c0a30e4fbbe99 /block/blk.h | |
parent | 07c4e1e834f8e7c991aa6dcb5ee0b7f2842e495d (diff) | |
download | linux-stable-520138c3b9425c615d1417687947d86821003319.tar.gz linux-stable-520138c3b9425c615d1417687947d86821003319.tar.bz2 linux-stable-520138c3b9425c615d1417687947d86821003319.zip |
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