[PATCH] nvme-pci: always use blk_map_iter for metadata

Chaitanya Kulkarni chaitanyak at nvidia.com
Mon Oct 20 16:38:50 PDT 2025


On 10/20/25 11:24, Keith Busch wrote:
> From: Keith Busch<kbusch at kernel.org>
>
> The dma_map_bvec helper doesn't work for p2p data. Rather than special
> case it, just use the same mapping logic so that the driver doesn't need
> to consider memory types.
>
> Reported-by: Leon Romanovsky<leon at kernel.org>
> Signed-off-by: Keith Busch<kbusch at kernel.org>

Looks good.

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

-ck




More information about the Linux-nvme mailing list