Re: [PATCH 2/4] ceph: convert ceph_wait_until_current_writes_complete() to folios

Matthew Wilcox <[email protected]>
Newsgroups gmane.linux.kernel,gmane.comp.file-systems.ceph.devel,gmane.linux.file-systems,gmane.linux.kernel.mm
Message-ID <[email protected]>
On Sun, Aug 02, 2026 at 12:50:03PM -0400, Tal Zussman wrote:
> Iterate the writeback batch as folios rather than using
> &folios[i]->page. Use ceph_folio_snap_context() for the snap context
> check and folio_wait_writeback() instead of wait_on_page_writeback().
> 
> This removes one call to compound_head() and the last caller of
> wait_on_page_writeback(). No functional change.
> 
> Signed-off-by: Tal Zussman <[email protected]>

Beautiful.

Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
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.