Linux filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/4] mm, ceph: remove wait_on_page_writeback()
@ 2026-08-02 16:50 Tal Zussman
  2026-08-02 16:50 ` [PATCH 1/4] ceph: add ceph_folio_snap_context() Tal Zussman
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Tal Zussman @ 2026-08-02 16:50 UTC (permalink / raw)
  To: Ilya Dryomov, Alex Markuze, Viacheslav Dubeyko,
	Matthew Wilcox (Oracle), Jan Kara, Andrew Morton,
	David Hildenbrand, Lorenzo Stoakes, Liam R. Howlett,
	Vlastimil Babka, Mike Rapoport, Suren Baghdasaryan, Michal Hocko,
	Zi Yan
  Cc: ceph-devel, linux-kernel, linux-fsdevel, linux-mm, Tal Zussman

wait_on_page_writeback() is a compatibility wrapper for
folio_wait_writeback() and has a single remaining caller in ceph's
writeback path. Convert that caller to use folios and remove the
wrapper.

Along the way, replace ceph's page_snap_context(), which uses
page->private, with a folio-based ceph_folio_snap_context(), dropping
three &folio->page conversions at its call sites.

No functional change intended.

Note: This is currently based on mm-new. It may conflict slightly with
Zi Yan's series "Remove PG_private by using page/folio->private checks
instead" [1], which should allow simplifying ceph_folio_snap_context()
further.

[1] https://lore.kernel.org/linux-mm/20260731-remove-pg_private-v1-0-142c97ba3562@nvidia.com/T/

Signed-off-by: Tal Zussman <tz2294@columbia.edu>
---
Tal Zussman (4):
      ceph: add ceph_folio_snap_context()
      ceph: convert ceph_wait_until_current_writes_complete() to folios
      mm: remove wait_on_page_writeback()
      ceph: remove page_snap_context()

 fs/ceph/addr.c          | 28 ++++++++++++++--------------
 include/linux/pagemap.h |  1 -
 mm/folio-compat.c       |  6 ------
 3 files changed, 14 insertions(+), 21 deletions(-)
---
base-commit: 1dbd7c34bb92dd9c0b0363b75f6ec444299af108
change-id: 20260802-remove-wait-on-page-writeback-8e0cb766d4c7

Best regards,
-- 
Tal Zussman <tz2294@columbia.edu>


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

end of thread, other threads:[~2026-08-03 12:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-02 16:50 [PATCH 0/4] mm, ceph: remove wait_on_page_writeback() Tal Zussman
2026-08-02 16:50 ` [PATCH 1/4] ceph: add ceph_folio_snap_context() Tal Zussman
2026-08-02 21:52   ` Matthew Wilcox
2026-08-02 22:44     ` Zi Yan
2026-08-03 10:17       ` Tal Zussman
2026-08-02 16:50 ` [PATCH 2/4] ceph: convert ceph_wait_until_current_writes_complete() to folios Tal Zussman
2026-08-02 23:22   ` Matthew Wilcox
2026-08-02 16:50 ` [PATCH 3/4] mm: remove wait_on_page_writeback() Tal Zussman
2026-08-02 23:23   ` Matthew Wilcox
2026-08-03 12:34   ` David Hildenbrand (Arm)
2026-08-02 16:50 ` [PATCH 4/4] ceph: remove page_snap_context() Tal Zussman
2026-08-03  2:06   ` Matthew Wilcox
2026-08-03 11:03     ` Tal Zussman

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