summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2024-09-12 10:41:56 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2024-09-12 18:00:09 +0300
commit7c3ca1838a7831855cbf2e6927a10e0e4723edf6 (patch)
treeecdcfadd129552f99178ced9ef11a890bdaa63c3 /rust/helpers/helpers.c
parent79f504a2cd3c0b7d953d0015618a2a41559a2cfd (diff)
downloadlinux-7c3ca1838a7831855cbf2e6927a10e0e4723edf6.tar.xz
erofs: restrict pcluster size limitations
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. Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Link: https://lore.kernel.org/r/20240912074156.2925394-1-hsiangkao@linux.alibaba.com
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions