[PATCH] erofs: restrict pcluster size limitations

Chao Yu chao at kernel.org
Thu Sep 12 19:06:34 AEST 2024


On 2024/9/12 15:41, Gao Xiang wrote:
> Error out if {en,de}encoded size of a pcluster is unsupported:
>    Maximum supported encoded size (of a pcluster):  1 MiB
>    Maximum supported decoded size (of a pcluster): 12 MiB
> 
> Users can still choose to use supported large configurations (e.g.,
> for archival purposes), but there may be performance penalties in
> low-memory scenarios compared to smaller pclusters.
> 
> Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>

Reviewed-by: Chao Yu <chao at kernel.org>

Thanks,


More information about the Linux-erofs mailing list