linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] f2fs: Remove uses of writepage
@ 2025-03-07 18:21 Matthew Wilcox (Oracle)
  2025-03-07 18:21 ` [PATCH 1/4] f2fs: Remove check for ->writepage Matthew Wilcox (Oracle)
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Matthew Wilcox (Oracle) @ 2025-03-07 18:21 UTC (permalink / raw)
  To: Jaegeuk Kim, Chao Yu
  Cc: Matthew Wilcox (Oracle), linux-f2fs-devel, linux-fsdevel

I was planning on sending this next cycle, but maybe there's time to
squeeze these patches into the upcoming merge window?

f2fs already implements writepages and migrate_folio for all three
address_space_operations, so either ->writepage will never be called (by
migration) or it will only be harmful (if called from pageout()).

The only remaining filesystem with ->writepage defined in next-20250307
is vboxsf, so the concept of removing ->writepage is well proven.  I
have some follow-up patches which simplify f2fs writeback afterwards,
but I think we can postpone them to next cycle.

See
https://lore.kernel.org/linux-fsdevel/20250307135414.2987755-1-willy@infradead.org/
for where we're going; the first four patches in that series are the
same as the four patches in this series, and I've split them out here
for your convenience.

Matthew Wilcox (Oracle) (4):
  f2fs: Remove check for ->writepage
  f2fs: Remove f2fs_write_data_page()
  f2fs: Remove f2fs_write_meta_page()
  f2fs: Remove f2fs_write_node_page()

 fs/f2fs/checkpoint.c |  7 -------
 fs/f2fs/data.c       | 28 ----------------------------
 fs/f2fs/node.c       |  8 --------
 3 files changed, 43 deletions(-)

-- 
2.47.2


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

end of thread, other threads:[~2025-03-27 22:27 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-07 18:21 [PATCH 0/4] f2fs: Remove uses of writepage Matthew Wilcox (Oracle)
2025-03-07 18:21 ` [PATCH 1/4] f2fs: Remove check for ->writepage Matthew Wilcox (Oracle)
2025-03-11 11:48   ` Chao Yu
2025-03-07 18:21 ` [PATCH 2/4] f2fs: Remove f2fs_write_data_page() Matthew Wilcox (Oracle)
2025-03-11 11:48   ` Chao Yu
2025-03-07 18:21 ` [PATCH 3/4] f2fs: Remove f2fs_write_meta_page() Matthew Wilcox (Oracle)
2025-03-11 11:49   ` Chao Yu
2025-03-07 18:21 ` [PATCH 4/4] f2fs: Remove f2fs_write_node_page() Matthew Wilcox (Oracle)
2025-03-11 11:49   ` Chao Yu
2025-03-07 20:39 ` [PATCH 0/4] f2fs: Remove uses of writepage Jaegeuk Kim
2025-03-07 20:48   ` Matthew Wilcox
2025-03-07 22:13     ` Jaegeuk Kim
2025-03-11 19:50 ` [f2fs-dev] " patchwork-bot+f2fs
2025-03-12  0:18   ` Matthew Wilcox
2025-03-12  1:22     ` Jaegeuk Kim
2025-03-14 15:57       ` Matthew Wilcox
2025-03-14 21:38         ` Jaegeuk Kim
2025-03-26  3:37           ` Matthew Wilcox
2025-03-27 22:27             ` Jaegeuk Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).