]> git.ipfire.org Git - thirdparty/linux.git/commit
erofs: implement metadata compression
authorBo Liu (OpenAnolis) <liubo03@inspur.com>
Tue, 22 Jul 2025 00:32:29 +0000 (08:32 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 24 Jul 2025 11:43:31 +0000 (19:43 +0800)
commit414091322c6363c9283aeb177101e4d7a3819ccd
treeeb33bc05e12e64e3869b8cd7615363651e7fe82d
parent681acbda3a6d2c687ab01baed22598da389d1f79
erofs: implement metadata compression

Thanks to the meta buffer infrastructure, metadata-compressed inodes are
just read from the metabox inode instead of the blockdevice (or backing
file) inode.

The same is true for shared extended attributes.

When metadata compression is enabled, inode numbers are divided from
on-disk NIDs because of non-LTS 32-bit application compatibility.

Co-developed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Signed-off-by: Bo Liu (OpenAnolis) <liubo03@inspur.com>
Acked-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250722003229.2121752-1-hsiangkao@linux.alibaba.com
14 files changed:
Documentation/ABI/testing/sysfs-fs-erofs
fs/erofs/data.c
fs/erofs/decompressor.c
fs/erofs/dir.c
fs/erofs/erofs_fs.h
fs/erofs/fileio.c
fs/erofs/fscache.c
fs/erofs/inode.c
fs/erofs/internal.h
fs/erofs/super.c
fs/erofs/sysfs.c
fs/erofs/xattr.c
fs/erofs/zdata.c
fs/erofs/zmap.c