diff options
author | Caleb Sander Mateos <csander@purestorage.com> | 2025-09-17 19:49:44 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-09-20 06:36:27 -0600 |
commit | 692cf47e1af39f86f28069db5ca6b00a7d2daddc (patch) | |
tree | 0db792bed9af0059e24d338719eb682773a420cb /rust/helpers | |
parent | 8a81926e45670c6d9b6e73e0482485d5c9a627e6 (diff) |
ublk: don't access ublk_queue in ublk_register_io_buf()
For ublk servers with many ublk queues, accessing the ublk_queue in
ublk_register_io_buf() 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')
0 files changed, 0 insertions, 0 deletions