[PATCH v11 7/9] block: set FOLL_PCI_P2PDMA in bio_map_user_iov()

Chaitanya Kulkarni chaitanyak at nvidia.com
Mon Oct 24 18:26:45 PDT 2022


On 10/21/22 10:41, Logan Gunthorpe wrote:
> When a bio's queue supports PCI P2PDMA, set FOLL_PCI_P2PDMA for
> iov_iter_get_pages_flags(). This allows PCI P2PDMA pages to be
> passed from userspace and enables the NVMe passthru requests to
> use P2PDMA pages.
> 
> Signed-off-by: Logan Gunthorpe <logang at deltatee.com>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: John Hubbard <jhubbard at nvidia.com>
> ---
>   block/blk-map.c | 12 ++++++++----

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck




More information about the Linux-nvme mailing list