[PATCHv2 0/2] blk-mq-dma: p2p cleanups and integrity fixup

Keith Busch kbusch at meta.com
Tue Sep 2 13:01:19 PDT 2025


From: Keith Busch <kbusch at kernel.org>

This series moves the p2p dma tracking from the caller to the block
layer, and makes it possible to actually use p2p for metadata payloads.

v1:

  https://lore.kernel.org/linux-nvme/20250829142307.3769873-1-kbusch@meta.com/

Changes:

  Folded in a fixed to patch 1 that was inadvertently included in patch 2.

  Added review.

Keith Busch (2):
  blk-integrity: enable p2p source and destination
  blk-mq-dma: bring back p2p request flags

 block/bio-integrity.c         | 21 +++++++++++++++++----
 block/blk-mq-dma.c            |  4 ++++
 drivers/nvme/host/pci.c       | 21 ++++-----------------
 include/linux/bio-integrity.h |  1 +
 include/linux/blk-integrity.h | 14 ++++++++++++++
 include/linux/blk-mq-dma.h    | 11 +++++++++--
 include/linux/blk_types.h     |  2 ++
 7 files changed, 51 insertions(+), 23 deletions(-)

-- 
2.47.3




More information about the Linux-nvme mailing list