Re: [PATCH v4 02/14] iov_iter: add iterator type for dmabuf maps

From: Pavel Begunkov

Date: Wed Jul 29 2026 - 06:59:34 EST


On 7/29/26 07:59, Christoph Hellwig wrote:
On Tue, Jul 28, 2026 at 10:29:14PM +0100, Pavel Begunkov wrote:
Introduce a new iterator type for dmabuf maps. The map in an opaque
object with internals and format specific to the subsystem / driver, and
only it can use that subsystem / driver for issuing IO. The task of the
middle layers is to pass the map / iterator further down, maybe doing
basic splitting and length checking. The iterator can only be used by
operations of the file the associated map was created for.

Suggested-by: Keith Busch <kbusch@xxxxxxxxxx>
Signed-off-by: Pavel Begunkov <asml.silence@xxxxxxxxx>

Looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Thanks,

I'm also pretty sure I reviewed this and vairous other patches
before..

There was a lot of shuffling, so I dropped the tag after a 10th
amendment to the patch as I didn't know whether you want to keep it.
I'll keep it all for v5 unless anything conceptual changes.

--
Pavel Begunkov