[PATCHv2] nvme-pci: use blk_map_iter for p2p metadata
Christoph Hellwig
hch at lst.de
Tue Oct 21 23:00:52 PDT 2025
On Tue, Oct 21, 2025 at 08:18:31AM -0700, 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.
Looks good:
Reviewed-by: Christoph Hellwig <hch at lst.de>
Although I'd still rename nvme_pci_setup_meta_sgls as in my draft as
the name is a bit misleading now.
More information about the Linux-nvme
mailing list