Re: [PATCH] erofs: support large folio in inode_share mode

From: Gao Xiang

Date: Fri Aug 21 2026 - 10:32:35 EST


On Fri, Aug 21, 2026 at 07:25:40PM +0800, Jingbo Xu wrote:
> erofs_fill_inode() calls mapping_set_large_folios() on each erofs
> file's own mapping, but in inode_share mode reads are routed to the
> shared inode's page cache instead, whose mapping never had large
> folio support enabled.
>
> Set up large folios for the shared inode's mapping as well.
>
> Signed-off-by: Jingbo Xu <jefflexu@xxxxxxxxxxxxxxxxx>

Reviewed-by: Gao Xiang <xiang@xxxxxxxxxx>

Thanks,
Gao Xiang