summaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2025-09-17 19:49:42 -0600
committerJens Axboe <axboe@kernel.dk>2025-09-20 06:36:27 -0600
commitb40dcdf8235d536072b9f61eb6d291f0f3720768 (patch)
treeeafb91176b2f1818a4363d0addc8a1292ee90fb6 /rust/helpers/workqueue.c
parent5125535f90564117506d926d0de92c4c2622b720 (diff)
ublk: don't dereference ublk_queue in ublk_check_and_get_req()
For ublk servers with many ublk queues, accessing the ublk_queue in ublk_ch_{read,write}_iter() is a frequent cache miss. Get the flags and queue depth from the ublk_device instead, which is accessed just before. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions