[PATCH for-next v11 11/13] block: add blk_rq_map_user_io

Christoph Hellwig hch at lst.de
Thu Sep 29 06:28:11 PDT 2022


On Thu, Sep 29, 2022 at 05:36:30PM +0530, Anuj Gupta wrote:
> Create a helper blk_rq_map_user_io for mapping of vectored as well as
> non-vectored requests. This will help in saving dupilcation of code at few
> places in scsi and nvme.
> 
> Signed-off-by: Anuj Gupta <anuj20.g at samsung.com>
> Suggested-by: Christoph Hellwig <hch at lst.de>

This looks good:

Reviewed-by: Christoph Hellwig <hch at lst.de>

but it should be early on in this series.  Certainly before the fixebufs
addition, and probably also before the nvme refactoring.



More information about the Linux-nvme mailing list