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

Keith Busch kbusch at meta.com
Wed Sep 3 12:33:15 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.

v2 had a mistake when CONFIG_BLK_DEV_INTEGRITY was not enabled, and this
update fixes that.

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 | 15 +++++++++++++++
 include/linux/blk-mq-dma.h    | 11 +++++++++--
 include/linux/blk_types.h     |  2 ++
 7 files changed, 52 insertions(+), 23 deletions(-)

-- 
2.47.3




More information about the Linux-nvme mailing list