2022-11-30 06:32:24

by Jingbo Xu

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



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