]> Git Repo - linux.git/commit
block: extend functionality to map bvec iterator
authorKanchan Joshi <[email protected]>
Fri, 30 Sep 2022 06:27:47 +0000 (11:57 +0530)
committerJens Axboe <[email protected]>
Fri, 30 Sep 2022 13:51:13 +0000 (07:51 -0600)
commit37987547932c89f15f9b76950040131ddb591a8b
tree227bca81ca089854b25af468e18c8ffaa9a49fda
parentab89e8e7ca526ca04baaad2aa28172d336425d67
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 <[email protected]>
Signed-off-by: Anuj Gupta <[email protected]>
Suggested-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
block/blk-map.c
This page took 0.050654 seconds and 4 git commands to generate.