From: Keith Busch <kbusch@meta.com>
To: <linux-block@vger.kernel.org>, <linux-nvme@lists.infradead.org>
Cc: <hch@lst.de>, <axboe@kernel.dk>, <joshi.k@samsung.com>,
Keith Busch <kbusch@kernel.org>
Subject: [PATCHv7 0/9] blk dma iter for integrity metadata
Date: Wed, 13 Aug 2025 08:31:44 -0700 [thread overview]
Message-ID: <20250813153153.3260897-1-kbusch@meta.com> (raw)
From: Keith Busch <kbusch@kernel.org>
Previous version:
https://lore.kernel.org/linux-block/20250812135210.4172178-1-kbusch@meta.com/
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(-)
--
2.47.3
next reply other threads:[~2025-08-13 16:31 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-13 15:31 Keith Busch [this message]
2025-08-13 15:31 ` [PATCHv7 1/9] blk-mq-dma: create blk_map_iter type Keith Busch
2025-08-14 10:17 ` Kanchan Joshi
2025-08-13 15:31 ` [PATCHv7 2/9] blk-mq-dma: provide the bio_vec array being iterated Keith Busch
2025-08-14 10:17 ` Kanchan Joshi
2025-08-13 15:31 ` [PATCHv7 3/9] blk-mq-dma: require unmap caller provide p2p map type Keith Busch
2025-08-13 15:53 ` Christoph Hellwig
2025-08-14 10:18 ` Kanchan Joshi
2025-08-13 15:31 ` [PATCHv7 4/9] blk-mq: remove REQ_P2PDMA flag Keith Busch
2025-08-13 15:53 ` Christoph Hellwig
2025-08-14 10:19 ` Kanchan Joshi
2025-08-13 15:31 ` [PATCHv7 5/9] blk-mq-dma: move common dma start code to a helper Keith Busch
2025-08-13 15:53 ` Christoph Hellwig
2025-08-14 10:19 ` Kanchan Joshi
2025-08-13 15:31 ` [PATCHv7 6/9] blk-mq-dma: add scatter-less integrity data DMA mapping Keith Busch
2025-08-13 15:55 ` Christoph Hellwig
2025-08-14 10:36 ` Kanchan Joshi
2025-08-13 15:31 ` [PATCHv7 7/9] blk-integrity: use iterator for mapping sg Keith Busch
2025-08-13 15:55 ` Christoph Hellwig
2025-08-13 16:53 ` Martin K. Petersen
2025-08-13 15:31 ` [PATCHv7 8/9] nvme-pci: create common sgl unmapping helper Keith Busch
2025-08-13 15:56 ` Christoph Hellwig
2025-08-13 15:31 ` [PATCHv7 9/9] nvme-pci: convert metadata mapping to dma iter Keith Busch
2025-08-13 16:57 ` [PATCHv7 0/9] blk dma iter for integrity metadata Martin K. Petersen
2025-08-25 7:55 ` Christoph Hellwig
2025-08-25 13:47 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250813153153.3260897-1-kbusch@meta.com \
--to=kbusch@meta.com \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=joshi.k@samsung.com \
--cc=kbusch@kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).