Re: [RFC PATCH 1/3] filemap: convert page_endio to folio_endio

From: Luis Chamberlain
Date: Wed Mar 15 2023 - 10:46:21 EST


On Wed, Mar 15, 2023 at 01:32:31PM +0100, Pankaj Raghav wrote:
> page_endio() already works on folios by converting a page in to a folio as
> the first step. Convert page_endio to folio_endio by taking a folio as the
> first parameter.
>
> Instead of doing a page to folio conversion in the page_endio()
> function, the consumers of this API do this conversion and call the
> folio_endio() function in this patch.
> The following patches will convert the consumers of this API to use native
> folio functions to pass to folio_endio().
>
> Signed-off-by: Pankaj Raghav <p.raghav@xxxxxxxxxxx>

Reviewed-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>

Perhaps the hard thing is what tree would this go through?

Luis