Re: [RFC PATCH v2 0/8] ext4: Add dma-buf read/write support
From: Pavel Begunkov
Date: Thu Nov 26 2026 - 05:45:08 EST
On 11/26/26 01:25, Mengmeng Zhao wrote:
On 11/24/26 16:40, Anuj Gupta wrote:
On Mon, Nov 23, 2026 at 09:51:41AM +0800, Mengmeng Zhao wrote:
Hi Anuj, I'd be happy to help pull our patches together into a single
unified series and send it out for review, if you're okay with that—and
would appreciate your review once it's posted as well. Please let me know how
you'd like to coordinate, or if you have any updates in progress on your
side before I put the series together.
Hi Mengmeng,
We already have updates in progress on the XFS side.
We will consolidate the combined series along with your ext4 work and
related patches, keeping your authorship.
One more thing that we are looking at combining is the ability to share
the registration across files. Pavel had mentioned this earlier in our
xfs series [1] and posted a series too [2] which needs some more work.
FWIW, we also had ext4 changes, but intentionally started with one
filesystem (XFS) so that the common interface could settle first.
[1] https://lore.kernel.org/linux-block/4649a20f-aba9-418e-987f-66f21ab24410@xxxxxxxxx/
[2] https://lore.kernel.org/linux-block/cover.1793751001.git.asml.silence@xxxxxxxxx/
Hi Anuj,
Sounds good, that makes sense given the ongoing XFS and shared registration
updates. Thanks for including our ext4 patches and keeping the authorship.
Feel free to loop me in once you post the combined series—I'd be happy to
help review and test it.
I looked at Pavel's patchset as well, and noticed it adds a new f_dma_io_tag
field to struct file, whereas Christoph and Christian want to avoid bloating
struct file. Did I miss something, or do you have a different approach in mind
to avoid adding fields to struct file?
I'll resend it later, how to store the tag is the least interesting
part, it can just move inside the block/ext4/etc code, which would
be uglier, but whatever.
--
Pavel Begunkov