diff options
author | Caleb Sander Mateos <csander@purestorage.com> | 2025-09-17 19:49:50 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-09-20 06:36:27 -0600 |
commit | be7962d7e3d9dd9ff5b6bcd3faccb3b0f76a9734 (patch) | |
tree | 9b0d9b00069157da03a4beed31f45b58403e2f3d /rust/helpers/rcu.c | |
parent | 3576e60a33c7f6be024b80f8c87312032fd27892 (diff) |
ublk: don't access ublk_queue in ublk_check_commit_and_fetch()
For ublk servers with many ublk queues, accessing the ublk_queue in
ublk_check_commit_and_fetch() is a frequent cache miss. Get the flags
from the ublk_device instead, which is accessed earlier in
ublk_ch_uring_cmd_local().
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/rcu.c')
0 files changed, 0 insertions, 0 deletions