Skip to content
Commit 783b94bd authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

nvme-pci: do not build a scatterlist to map metadata



We always have exactly one segment, so we can simply call dma_map_bvec.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarKeith Busch <keith.busch@intel.com>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Reviewed-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
parent b15c592d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment