summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2025-11-06 20:16:47 +0300
committerJens Axboe <axboe@kernel.dk>2025-11-07 02:26:04 +0300
commite87d66ab27ac89494b75ddc3fed697b5aa8417f1 (patch)
treef0760981a0df93743e4d95196dc7047cae1896f9 /tools/perf/scripts/python/task-analyzer.py
parent2299ceec364eecdc0a5b4ec80c757551d130389c (diff)
downloadlinux-e87d66ab27ac89494b75ddc3fed697b5aa8417f1.tar.xz
ublk: use rq_for_each_segment() for user copy
ublk_advance_io_iter() and ublk_copy_io_pages() currently open-code the iteration over the request's bvecs. Switch to the rq_for_each_segment() macro provided by blk-mq to avoid reaching into the bio internals and simplify the code. Suggested-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions