diff options
| author | Caleb Sander Mateos <csander@purestorage.com> | 2025-09-17 19:49:48 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-09-20 06:36:27 -0600 |
| commit | 23c014448e97d4b59c54816f545ab963bf8dd644 (patch) | |
| tree | 475f64a587d320fb1d1996f6b79194b75d5ba44d /rust/kernel/alloc/allocator_test.rs | |
| parent | a689efd5fde7b39cfbcf43267bccf0e56295cc16 (diff) | |
ublk: don't access ublk_queue in ublk_config_io_buf()
For ublk servers with many ublk queues, accessing the ublk_queue in
ublk_config_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/kernel/alloc/allocator_test.rs')
0 files changed, 0 insertions, 0 deletions
