[PATCHv2 2/7] blk-mq-dma: set the bvec being iterated
Christoph Hellwig
hch at lst.de
Mon Jul 21 00:38:36 PDT 2025
On Sun, Jul 20, 2025 at 11:40:35AM -0700, Keith Busch wrote:
> From: Keith Busch <kbusch at kernel.org>
>
> This will make it easier to add different bvec sources, like for
> upcoming integrity support. It also makes iterating "special" payloads
> more common with iterating normal data bi_io_vecs.
You're not really setting the bvec, but the bvec table, i.e. the start
of the contiguous chunk of bvecs for the bio / bip. Can you make this
a bit more clear both in the commit message and the structure member
naming? This really confused me and took a bit of careful reading
to understand.
Otherwise this looks fine.
More information about the Linux-nvme
mailing list