diff options
author | Kanchan Joshi <joshi.k@samsung.com> | 2022-09-30 11:57:47 +0530 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-30 07:51:13 -0600 |
commit | 37987547932c89f15f9b76950040131ddb591a8b (patch) | |
tree | 227bca81ca089854b25af468e18c8ffaa9a49fda /scripts/generate_rust_target.rs | |
parent | ab89e8e7ca526ca04baaad2aa28172d336425d67 (diff) |
block: extend functionality to map bvec iterator
Extend blk_rq_map_user_iov so that it can handle bvec iterator, using
the new blk_rq_map_user_bvec function. It maps the pages from bvec
iterator into a bio and place the bio into request.
This helper will be used by nvme for uring-passthrough path when IO is
done using pre-mapped buffers.
Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Anuj Gupta <anuj20.g@samsung.com>
Suggested-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220930062749.152261-11-anuj20.g@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions