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

From: Chao Yu

Date: Sun Aug 23 2026 - 20:47:23 EST


On 8/21/26 19:25, 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: Chao Yu <chao@xxxxxxxxxx>

Thanks,