linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv4 0/8] blk-mq: introduce blk_map_iter
@ 2025-07-31 15:05 Keith Busch
  2025-07-31 15:05 ` [PATCHv4 1/8] blk-mq-dma: " Keith Busch
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Keith Busch @ 2025-07-31 15:05 UTC (permalink / raw)
  To: linux-block, linux-nvme; +Cc: hch, axboe, joshi.k, Keith Busch

From: Keith Busch <kbusch@kernel.org>

Previous version:

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

Changes since v3:

 - Fixed special vec handling

 - Fixed address check for dma_mapping_error

 - Fixed nvme leaks on dma iteration errror

 - Added an nvme prep patch to reduce code duplication when unmaping
   sgl's

 - On the last patch, I retained the previous MPTR setup for when a
   single integrity segment exists for non-user requests. A code comment
   in the data path claims that is more efficient than the DMA iterator.

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            | 237 ++++++++++++++++++++--------------
 drivers/nvme/host/pci.c       | 190 +++++++++++++++------------
 include/linux/blk-integrity.h |  17 +++
 include/linux/blk-mq-dma.h    |  16 ++-
 include/linux/blk_types.h     |   1 -
 6 files changed, 279 insertions(+), 184 deletions(-)

-- 
2.47.3



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-08-08 13:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-31 15:05 [PATCHv4 0/8] blk-mq: introduce blk_map_iter Keith Busch
2025-07-31 15:05 ` [PATCHv4 1/8] blk-mq-dma: " Keith Busch
2025-07-31 15:05 ` [PATCHv4 2/8] blk-mq-dma: provide the bio_vec list being iterated Keith Busch
2025-07-31 15:05 ` [PATCHv4 3/8] blk-mq-dma: require unmap caller provide p2p map type Keith Busch
2025-07-31 15:05 ` [PATCHv4 4/8] blk-mq: remove REQ_P2PDMA flag Keith Busch
2025-08-08 12:54   ` Kanchan Joshi
2025-07-31 15:05 ` [PATCHv4 5/8] blk-mq-dma: move common dma start code to a helper Keith Busch
2025-07-31 15:05 ` [PATCHv4 6/8] blk-mq-dma: add support for mapping integrity metadata Keith Busch
2025-08-02 23:11   ` kernel test robot
2025-07-31 15:05 ` [PATCHv4 7/8] nvme-pci: create common sgl unmapping helper Keith Busch
2025-07-31 15:05 ` [PATCHv4 8/8] nvme-pci: convert metadata mapping to dma iter Keith Busch
2025-08-08 13:01   ` Kanchan Joshi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).