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

Jingbo Xu jefflexu at linux.alibaba.com
Wed Nov 30 17:07:14 AEDT 2022



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


More information about the Linux-erofs mailing list