Linux block layer
 help / color / mirror / Atom feed
* [PATCH 0/7] Remove aops->launder_folio
@ 2026-08-20 19:33 Matthew Wilcox (Oracle)
  2026-08-20 19:33 ` [PATCH 1/7] filemap: Export filemap_invalidate_pages() to modules Matthew Wilcox (Oracle)
                   ` (7 more replies)
  0 siblings, 8 replies; 18+ messages in thread
From: Matthew Wilcox (Oracle) @ 2026-08-20 19:33 UTC (permalink / raw)
  To: Christian Brauner
  Cc: Matthew Wilcox (Oracle), Jan Kara, Chris Mason, David Sterba,
	Miklos Szeredi, Trond Myklebust, Anna Schumaker, Mike Marshall,
	Martin Brandenburg, Alexander Viro, linux-fsdevel, linux-mm,
	linux-block, linux-btrfs, fuse-devel, linux-nfs, devel,
	Pavel Begunkov

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


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2026-08-26  7:50 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-20 19:33 [PATCH 0/7] Remove aops->launder_folio Matthew Wilcox (Oracle)
2026-08-20 19:33 ` [PATCH 1/7] filemap: Export filemap_invalidate_pages() to modules Matthew Wilcox (Oracle)
2026-08-20 19:33 ` [PATCH 2/7] fuse: Use filemap_invalidate_pages() Matthew Wilcox (Oracle)
2026-08-20 20:37   ` Bernd Schubert
2026-08-24  9:05   ` Miklos Szeredi
2026-08-24 13:29     ` Matthew Wilcox
2026-08-24 13:49       ` Miklos Szeredi
2026-08-24 18:17         ` Matthew Wilcox
2026-08-24 19:33           ` Miklos Szeredi
2026-08-24 20:47             ` Matthew Wilcox
2026-08-25  7:08               ` Miklos Szeredi
2026-08-20 19:33 ` [PATCH 3/7] btrfs: " Matthew Wilcox (Oracle)
2026-08-24 21:57   ` Boris Burkov
2026-08-20 19:33 ` [PATCH 4/7] nfs: " Matthew Wilcox (Oracle)
2026-08-20 19:33 ` [PATCH 5/7] orangefs: " Matthew Wilcox (Oracle)
2026-08-20 19:33 ` [PATCH 6/7] orangefs: Remove launder_folio implementation Matthew Wilcox (Oracle)
2026-08-20 19:33 ` [PATCH 7/7] Remove folio_launder() Matthew Wilcox (Oracle)
2026-08-25 15:50 ` [PATCH 0/7] Remove aops->launder_folio Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox