[PATCH for-next v8 4/5] block: add helper to map bvec iterator for passthrough

Christoph Hellwig hch at lst.de
Fri Sep 23 08:30:09 PDT 2022


On Fri, Sep 23, 2022 at 02:58:53PM +0530, Kanchan Joshi wrote:
> Add blk_rq_map_user_bvec which maps the bvec iterator into a bio and
> places that into the request. This helper will be used in nvme for
> uring-passthrough with fixed-buffer.
> While at it, create another helper bio_map_get to reduce the code
> duplication.

As per discussion on the last round - this needs to into
blk_rq_map_user_iov.



More information about the Linux-nvme mailing list