diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-09-23 03:49:15 +0200 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-09-26 17:55:43 +0200 |
commit | 5c2a64252c5dc4cfe78e5b2a531c118894e3d155 (patch) | |
tree | 356748bce348364c288493b9eeb9de8994b1a95e /fs/erofs/super.c | |
parent | erofs: support on-disk compressed fragments data (diff) | |
download | linux-5c2a64252c5dc4cfe78e5b2a531c118894e3d155.tar.xz linux-5c2a64252c5dc4cfe78e5b2a531c118894e3d155.zip |
erofs: introduce partial-referenced pclusters
Due to deduplication for compressed data, pclusters can be partially
referenced with their prefixes.
Together with the user-space implementation, it enables EROFS
variable-length global compressed data deduplication with rolling
hash.
Link: https://lore.kernel.org/r/20220923014915.4362-1-hsiangkao@linux.alibaba.com
Reviewed-by: Yue Hu <huyue2@coolpad.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'fs/erofs/super.c')
-rw-r--r-- | fs/erofs/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/erofs/super.c b/fs/erofs/super.c index ce20562ca91f..8040534ae5c0 100644 --- a/fs/erofs/super.c +++ b/fs/erofs/super.c @@ -424,6 +424,8 @@ static int erofs_read_superblock(struct super_block *sb) erofs_info(sb, "EXPERIMENTAL fscache-based on-demand read feature in use. Use at your own risk!"); if (erofs_sb_has_fragments(sbi)) erofs_info(sb, "EXPERIMENTAL compressed fragments feature in use. Use at your own risk!"); + if (erofs_sb_has_dedupe(sbi)) + erofs_info(sb, "EXPERIMENTAL global deduplication feature in use. Use at your own risk!"); out: erofs_put_metabuf(&buf); return ret; |