RFC Block and NMMe PCI use of new DMA mapping API
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest7 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | block: share more code for bio addition helpersblock/ | +51 | 2 replies | |
| 2/7 | block: don't merge different kinds of P2P transfers in a single bioblock/ block/ include/ | +55 | 7 replies | |
| 3/7 | blk-mq: add a dma mapping iteratorblock/ | +77 | 0 replies | |
| 4/7 | blk-mq: add scatterlist-less DMA mapping helpersblock/ include/ | +227 | 0 replies | |
| 5/7 | nvme-pci: remove struct nvme_descriptordrivers/ | +22 | 0 replies | |
| 6/7 | nvme-pci: use a better encoding for small prp pool allocationsdrivers/ | +40 | 0 replies | |
| 7/7 | nvme-pci: convert to blk_rq_dma_mapdrivers/ | +205 | 0 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Logan Gunthorpe |
|---|---|
| 1/7 | |
| 2/7 | R-b |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/7] Block and NMMe PCI use of new DMA mapping API
This is complimentary patchset to the series which adds new DMA mapping API [1].
In this series, Christoph converts existing nvme-pci driver to use new API, which is wrapped by relevant blk-mq helpers, so future blk drivers can reuse them in block layer specific structures.
This is posted as RFC as it is under heavy testing now, and presented here to get feedback from the community and show another advanced use case of the new API.
Thanks
[1] https://lore.kernel.org/all/[email protected]
Christoph Hellwig (7):
block: share more code for bio addition helpers
block: don't merge different kinds of P2P transfers in a single bio
blk-mq: add a dma mapping iterator
blk-mq: add scatterlist-less DMA mapping helpers
nvme-pci: remove struct nvme_descriptor
nvme-pci: use a better encoding for small prp pool allocations
nvme-pci: convert to blk_rq_dma_map
block/bio.c | 148 ++++++------ block/blk-map.c | 32 ++- block/blk-merge.c | 313 +++++++++++++++++------- drivers/nvme/host/pci.c | 470 +++++++++++++++++++------------------ include/linux/blk-mq-dma.h | 64 +++++ include/linux/blk_types.h | 2 + 6 files changed, 636 insertions(+), 393 deletions(-) create mode 100644 include/linux/blk-mq-dma.h
Signature · 1 line
2.46.2