[PATCHv5 0/8] blk dma iter for integrity metadata
Keith Busch
kbusch at meta.com
Fri Aug 8 08:58:18 PDT 2025
From: Keith Busch <kbusch at kernel.org>
Previous version:
https://lore.kernel.org/linux-block/20250731150513.220395-1-kbusch@meta.com/
Changes since v4:
- Fixed nvme initialization for metadata total length (Kanchan)
- Removed the now unused __REQ_FLAG_P2PDMA (Kanchan)
- Fixed checks with CONFIG_BLK_DEV_INTEGRITY is not set (lkp at intel.com)
Keith Busch (8):
blk-mq-dma: introduce blk_map_iter
blk-mq-dma: provide the bio_vec list being iterated
blk-mq-dma: require unmap caller provide p2p map type
blk-mq: remove REQ_P2PDMA flag
blk-mq-dma: move common dma start code to a helper
blk-mq-dma: add support for mapping integrity metadata
nvme-pci: create common sgl unmapping helper
nvme-pci: convert metadata mapping to dma iter
block/bio.c | 2 +-
block/blk-mq-dma.c | 239 +++++++++++++++++++++-------------
drivers/nvme/host/pci.c | 197 +++++++++++++++-------------
include/linux/blk-integrity.h | 17 +++
include/linux/blk-mq-dma.h | 18 ++-
include/linux/blk_types.h | 2 -
6 files changed, 287 insertions(+), 188 deletions(-)
--
2.47.3
More information about the Linux-nvme
mailing list