diff options
| author | 2025-11-06 10:16:47 -0700 | |
|---|---|---|
| committer | 2025-11-06 16:26:04 -0700 | |
| commit | e87d66ab27ac89494b75ddc3fed697b5aa8417f1 (patch) | |
| tree | f0760981a0df93743e4d95196dc7047cae1896f9 /scripts/Makefile.thinlto | |
| parent | ublk: use copy_{to,from}_iter() for user copy (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
