erofs: introduce on-disk lz4 fs configurations
authorGao Xiang <hsiangkao@redhat.com>
Mon, 29 Mar 2021 01:23:07 +0000 (09:23 +0800)
committerGao Xiang <hsiangkao@redhat.com>
Mon, 29 Mar 2021 02:24:58 +0000 (10:24 +0800)
commit46249cded18ac0c4ffb7b177219510a133a51c00
tree71682f8e22563f0c126c81d6848b276f3284f239
parent5d50538fc567c6f3692dec1825fb38c5a0884d93
erofs: introduce on-disk lz4 fs configurations

Introduce z_erofs_lz4_cfgs to store all lz4 configurations.
Currently it's only max_distance, but will be used for new
features later.

Link: https://lore.kernel.org/r/20210329012308.28743-4-hsiangkao@aol.com
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
fs/erofs/decompressor.c
fs/erofs/erofs_fs.h
fs/erofs/internal.h
fs/erofs/super.c