[PATCHv2] nvme-pci: use blk_map_iter for p2p metadata

Chaitanya Kulkarni chaitanyak at nvidia.com
Tue Oct 21 20:18:33 PDT 2025


On 10/21/25 8:18 AM, Keith Busch wrote:
> From: Keith Busch<kbusch at kernel.org>
>
> The dma_map_bvec helper doesn't work for p2p data, so use the same
> blk_map_iter method that sgl uses for this memory type.
>
> Reported-by: Leon Romanovsky<leon at kernel.org>
> Signed-off-by: Keith Busch<kbusch at kernel.org>


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


-ck



More information about the Linux-nvme mailing list