Message ID | 20240528164829.2105447-1-willy@infradead.org |
---|---|
Headers | show |
Series | Start moving write_begin/write_end out of aops | expand |
On Tue, May 28, 2024 at 05:48:21PM +0100, Matthew Wilcox (Oracle) wrote: > Christoph wants to remove write_begin/write_end from aops and pass them > to filemap as callback functions. Here's one possible route to do this. > I combined it with the folio conversion (because why touch the same code > twice?) and tweaked some of the other things (support for ridiculously > large folios with size_t lengths, remove the need to initialise fsdata > by passing only a pointer to the fsdata pointer). And then I converted > ext4, which is probably the worst filesystem to convert because it needs > three different bwops. Most fs will only need one. Hopefully ext4 will get convert to iomap before we need this.. :) More seriously, there is an ext4 iomap conversion in progress and a ext2 one, which is a really good copy & paste model for a lot of the simple file systems. Maybe just wait for some of this to settle to avoid a lot of duplicate work?