Skip to content

blk dma iter for integrity metadata

Keith Busch linux-block linux-nvme 6 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest9 patches 16 repliesApplied
  2. v68 patches 5 repliesSuperseded
  3. v58 patches 12 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v48 patches2 repliesSuperseded
v37 patches8 repliesSuperseded
v27 patches12 repliesSuperseded

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/9blk-mq-dma: create blk_map_iter typeblock/blk-mq-dma.c include/linux/blk-mq-dma.h+8 -31 reply
2/9blk-mq-dma: provide the bio_vec array being iteratedblock/blk-mq-dma.c include/linux/blk-mq-dma.h+34 -231 reply
3/9blk-mq-dma: require unmap caller provide p2p map typedrivers/nvme/host/pci.c include/linux/blk-mq-dma.h+11 -32 replies
4/9blk-mq: remove REQ_P2PDMA flagblock/bio.c block/blk-mq-dma.c include/linux/blk_types.h+15 -192 replies
5/9blk-mq-dma: move common dma start code to a helperblock/blk-mq-dma.c+33 -262 replies
6/9blk-mq-dma: add scatter-less integrity data DMA mappingblock/blk-mq-dma.c include/linux/blk-integrity.h include/linux/blk-mq-dma.h+115 -72 replies
7/9blk-integrity: use iterator for mapping sgblock/blk-integrity.c block/blk-mq-dma.c+45 -582 replies
8/9nvme-pci: create common sgl unmapping helperdrivers/nvme/host/pci.c+14 -151 reply
9/9nvme-pci: convert metadata mapping to dma iterdrivers/nvme/host/pci.c+87 -760 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChristoph HellwigMartin K. PetersenKanchan Joshi
SeriesR-b
1/9R-b R-b
2/9R-b R-b
3/9R-b R-b
4/9R-b R-b
5/9R-b R-b
6/9R-b R-b
7/9R-b R-b
8/9R-b R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v7 thread

Cover letter [PATCHv7 0/9] blk dma iter for integrity metadata

From: Keith Busch <[email protected]>

Previous version:

https://lore.kernel.org/linux-block/[email protected]/

Changes since v6 addressing review feeback from Christoph:

- Moved the integrity sg conversion to its own patch

- implemented it in blk-mq-dma.c instead of blk-integrity.c to avoid having to shuffling functions and common types around

- fixed a mistake in v6 that missed using the iter_next helper function

- improved changelog for the patch introducing the scatterless integrity mapping

- nvme cleanups

Keith Busch (9):
blk-mq-dma: create blk_map_iter type
blk-mq-dma: provide the bio_vec array 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 scatter-less integrity data DMA mapping
blk-integrity: use iterator for mapping sg
nvme-pci: create common sgl unmapping helper
nvme-pci: convert metadata mapping to dma iter

 block/bio.c                   |   2 +-
 block/blk-integrity.c         |  58 -------
 block/blk-mq-dma.c            | 278 ++++++++++++++++++++++++++--------
 drivers/nvme/host/pci.c       | 197 +++++++++++++-----------
 include/linux/blk-integrity.h |  17 +++
 include/linux/blk-mq-dma.h    |  14 +-
 include/linux/blk_types.h     |   2 -
 7 files changed, 350 insertions(+), 218 deletions(-)
Signature · 1 line
2.47.3