diff options
author | Ming Lei <ming.lei@redhat.com> | 2020-10-01 23:48:42 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-06 07:29:36 -0600 |
commit | 0549e87c30ae0d43d7e10424f2222bcd8bbe986d (patch) | |
tree | b137a09643eda68a1905de9938b7837665820f2c /block | |
parent | 2b0d3d3e4fcfb19d10f9a82910b8f0f05c56ee3e (diff) | |
download | linux-0549e87c30ae0d43d7e10424f2222bcd8bbe986d.tar.gz |
block: move 'q_usage_counter' into front of 'request_queue'
The field of 'q_usage_counter' is always fetched in fast path of every
block driver, and move it into front of 'request_queue', so it can be
fetched into 1st cacheline of 'request_queue' instance.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Tested-by: Veronika Kabatova <vkabatov@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagi@grimberg.me>
Cc: Tejun Heo <tj@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions