[PATCH 0/4] mm, ceph: remove wait_on_page_writeback()
Tal Zussman <[email protected]> Sun, 02 Aug 2026 12:50:01 -0400
| Newsgroups | org.kernel.vger.ceph-devel,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <20260802-remove-wait-on-page-writeback-v1-0-6c35d6b3ad36@columbia.edu> |
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/[email protected]/T/ Signed-off-by: Tal Zussman <[email protected]> --- 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 <[email protected]>