diff options
author | Ming Lei <ming.lei@redhat.com> | 2020-05-08 10:17:57 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-13 04:31:39 +0200 |
commit | 520138c3b9425c615d1417687947d86821003319 (patch) | |
tree | e02efdb939842d33ab3df422f24c0a30e4fbbe99 /block/blk-sysfs.c | |
parent | block: only define 'nr_sects_seq' in hd_part for 32bit SMP (diff) | |
download | linux-520138c3b9425c615d1417687947d86821003319.tar.xz linux-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-sysfs.c')
0 files changed, 0 insertions, 0 deletions