erofs-utils: lib: shorten EROFS_FRAGMENT_INMEM_SZ_MAX
authorGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 14 Feb 2025 06:24:07 +0000 (14:24 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Sat, 15 Feb 2025 01:01:15 +0000 (09:01 +0800)
commit3051162fefef9af9f274266a2ad9d5d612d50ccc
tree3ec80a83c2880f41bd9d659dbacd0cd2ee34336d
parenta26cd36a5e87095aa3396a9cb65e74c6242ef825
erofs-utils: lib: shorten EROFS_FRAGMENT_INMEM_SZ_MAX

EROFS_CONFIG_COMPR_MAX_SZ (currently 4MiB) is too large and could
cause OOM kills on small setups.

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250214062407.3281416-3-hsiangkao@linux.alibaba.com
lib/fragments.c