aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2025-09-17 19:49:48 -0600
committerJens Axboe <axboe@kernel.dk>2025-09-20 06:36:27 -0600
commit23c014448e97d4b59c54816f545ab963bf8dd644 (patch)
tree475f64a587d320fb1d1996f6b79194b75d5ba44d /rust/helpers/build_bug.c
parentublk: don't access ublk_queue in ublk_check_fetch_buf() (diff)
downloadlinux-23c014448e97d4b59c54816f545ab963bf8dd644.tar.gz
linux-23c014448e97d4b59c54816f545ab963bf8dd644.zip
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/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions