Re: [PATCH v2 01/10] ceph: add ceph_folio_snap_context()

Zi Yan <[email protected]> Tue, 04 Aug 2026 15:59:14 -0400
Newsgroups gmane.comp.file-systems.ceph.devel,gmane.linux.kernel,gmane.linux.file-systems,gmane.linux.kernel.mm
Message-ID <[email protected]>
On 4 Aug 2026, at 14:52, Tal Zussman wrote:

> Add a folio-based counterpart to page_snap_context() that reads the
> snap context from folio->private directly.
>
> Convert the three writeback paths that passed &folio->page to
> page_snap_context() to ceph_folio_snap_context(), removing three
> open-coded folio-to-page conversions. No functional change.
>
> Signed-off-by: Tal Zussman <[email protected]>
> ---
>  fs/ceph/addr.c | 12 +++++++++---
>  1 file changed, 9 insertions(+), 3 deletions(-)
>
Acked-by: Zi Yan <[email protected]>

Best Regards,
Yan, Zi