diff options
author | 2025-03-28 12:04:11 -0600 | |
---|---|---|
committer | 2025-03-28 16:15:43 -0600 | |
commit | 00cfc05cf81f58b1bc2650e18228350a094b1f6d (patch) | |
tree | 58d685d2bcde8a406dba277a854f1f1f13b403b7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ublk: avoid redundant io->cmd in ublk_queue_cmd_list() (diff) | |
download | wireguard-linux-00cfc05cf81f58b1bc2650e18228350a094b1f6d.tar.xz wireguard-linux-00cfc05cf81f58b1bc2650e18228350a094b1f6d.zip |
ublk: store req in ublk_uring_cmd_pdu for ublk_cmd_tw_cb()
Pass struct request *rq to ublk_cmd_tw_cb() through ublk_uring_cmd_pdu,
mirroring how it works for ublk_cmd_list_tw_cb(). This saves some
pointer dereferences, as well as the bounds check in blk_mq_tag_to_rq().
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Link: https://lore.kernel.org/r/20250328180411.2696494-6-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions