On Tue, Oct 29, 2024 at 08:56:49AM -0700, Darrick J. Wong wrote: > On Tue, Oct 29, 2024 at 04:12:00PM +0100, Christoph Hellwig wrote: > > Shared the regular buffered write iomap_ops with the page fault path > > and just check for the IOMAP_FAULT flag to skip delalloc punching. > > > > This keeps the delalloc punching checks in one place, and will make it > > easier to convert iomap to an iter model where the begin and end > > handlers are merged into a single callback. > > "merged into a single callback"? What plans are these? :) Well, the good old iterator conversion originally from willy. His intent I think was to avoid the indirect call entirely for performance critical calls. I'm more interested in allowing the caller to keep more state, and to allow nested iterations to e.g. make buffered out of place overwrites suck less, and to maybe not do synchronous reads one block at a time in unshare. This was my last spin on the idea: https://www.spinics.net/lists/linux-btrfs/msg122508.html I can't find willy's two older takes right now.