[PATCH 0/4] ubifs: Convert writeback to use folios

Matthew Wilcox (Oracle) willy at infradead.org
Mon Jun 5 09:50:25 PDT 2023


There are a few transitions going on in the VFS right now.  One is that
we're deprecating and removing ->writepage; all filesystems need to be
converted to ->writepages.  The other is that we're switching filesystems
from using pages to folios so they can support large folios and we can
shrink the size of memmap.

This completely untested series updates ubifs to the current APIs.
You might be able to improve things; for example, it's common for
filesystems to batch up the results of the writepage call and submit
them at the end of the writepages method.  But that would be suitable
for a later patchset.

Matthew Wilcox (Oracle) (4):
  ubifs: Convert from writepage to writepages
  ubifs: Convert ubifs_writepage to use a folio
  ubifs: Use a folio in do_truncation()
  ubifs: Convert do_writepage() to take a folio

 fs/ubifs/file.c | 120 ++++++++++++++++++++++++++----------------------
 1 file changed, 64 insertions(+), 56 deletions(-)

-- 
2.39.2




More information about the linux-mtd mailing list