Re: [PATCH v2] erofs: enable large folios for iomap mode

From: Jingbo Xu
Date: Wed Nov 30 2022 - 01:07:26 EST




On 11/30/22 2:04 PM, Jingbo Xu wrote:
> Enable large folios for iomap mode. Then the readahead routine will
> pass down large folios containing multiple pages.
>
> Let's enable this for non-compressed format for now, until the
> compression part supports large folios later.
>
> When large folios supported, the iomap routine will allocate iomap_page
> for each large folio and thus we need iomap_release_folio() and
> iomap_invalidate_folio() to free iomap_page when these folios get
> recalimed or invalidated. ^
reclaimed


--
Thanks,
Jingbo