Commit 1e59af07 authored by Yue Hu's avatar Yue Hu Committed by Gao Xiang

erofs: do not prompt for risk any more when using big pcluster

The big pcluster feature has been merged for a year, it has been mostly
stable now.
Signed-off-by: default avatarYue Hu <huyue2@coolpad.com>
Reviewed-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20220407050505.12683-1-huyue2@coolpad.comSigned-off-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
parent af2d861d
...@@ -46,8 +46,6 @@ int z_erofs_load_lz4_config(struct super_block *sb, ...@@ -46,8 +46,6 @@ int z_erofs_load_lz4_config(struct super_block *sb,
erofs_err(sb, "too large lz4 pclusterblks %u", erofs_err(sb, "too large lz4 pclusterblks %u",
sbi->lz4.max_pclusterblks); sbi->lz4.max_pclusterblks);
return -EINVAL; return -EINVAL;
} else if (sbi->lz4.max_pclusterblks >= 2) {
erofs_info(sb, "EXPERIMENTAL big pcluster feature in use. Use at your own risk!");
} }
} else { } else {
distance = le16_to_cpu(dsb->u1.lz4_max_distance); distance = le16_to_cpu(dsb->u1.lz4_max_distance);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment