On Tue, Aug 27, 2024 at 04:45:19PM -0400, Josef Bacik wrote: > We're currently using the old ->write_begin()/->write_end() method of > doing buffered writes. This isn't a huge deal for fuse since we > basically just want to copy the pages and move on, but the iomap > infrastructure gives us access to having huge folios. Rework the > buffered write path when we have writeback cache to use the iomap > buffered write code, the ->get_folio() callback now handles the work > that we did in ->write_begin(), the rest of the work is handled inside > of iomap so we don't need a replacement for ->write_end. Fuse probably needs to select FS_IOMAP with this. And BLOCK as well as buffered-io.o depends on it, but I suspect that is relatvely easily fixable.