[PATCH 0/7] Remove aops->launder_folio

"Matthew Wilcox (Oracle)" <[email protected]>
Newsgroups org.kernel.vger.linux-nfs,dev.linux.lists.fuse-devel,org.kernel.vger.linux-block,org.kernel.vger.linux-btrfs,org.kernel.vger.linux-fsdevel,org.kvack.linux-mm
Message-ID <[email protected]>
There's really no reason to implement ->launder_folio.  Most filesystems
don't.  The only problem is that some filesystems rely on dirty folios
being written back this way, so we need to make sure that folios are
written back before invalidating them.  filemap_invalidate_pages()
works well for that, once we remove the 'nowait' parameter.

Matthew Wilcox (Oracle) (7):
  filemap: Export filemap_invalidate_pages() to modules
  fuse: Use filemap_invalidate_pages()
  btrfs: Use filemap_invalidate_pages()
  nfs: Use filemap_invalidate_pages()
  orangefs: Use filemap_invalidate_pages()
  orangefs: Remove launder_folio implementation
  Remove folio_launder()

 Documentation/filesystems/locking.rst |  8 -----
 Documentation/filesystems/vfs.rst     |  6 ----
 block/ioctl.c                         | 14 +++++---
 fs/btrfs/direct-io.c                  |  2 +-
 fs/btrfs/disk-io.c                    | 11 ++++---
 fs/btrfs/free-space-cache.c           |  4 +--
 fs/btrfs/inode.c                      | 12 ++-----
 fs/btrfs/volumes.c                    |  4 +--
 fs/fuse/dax.c                         | 15 ++-------
 fs/fuse/dir.c                         | 12 ++++---
 fs/fuse/file.c                        | 46 ++++-----------------------
 fs/fuse/inode.c                       | 17 +++-------
 fs/nfs/dir.c                          |  7 ++--
 fs/nfs/direct.c                       |  5 ++-
 fs/nfs/file.c                         | 24 --------------
 fs/nfs/inode.c                        |  5 +--
 fs/nfs/nfs42proc.c                    |  3 +-
 fs/nfs/nfstrace.h                     |  1 -
 fs/orangefs/file.c                    |  4 +--
 fs/orangefs/inode.c                   |  1 -
 include/linux/fs.h                    |  1 -
 include/linux/pagemap.h               |  2 +-
 mm/filemap.c                          | 42 ++++++++++++++++--------
 mm/truncate.c                         | 15 ++-------
 24 files changed, 87 insertions(+), 174 deletions(-)

-- 
2.47.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.