linux/fs/erofs
Gao Xiang 7c35de4df1 erofs: Zstandard compression support
Add Zstandard compression as the 4th supported algorithm since it
becomes more popular now and some end users have asked this for
quite a while [1][2].

Each EROFS physical cluster contains only one valid standard
Zstandard frame as described in [3] so that decompression can be
performed on a per-pcluster basis independently.

Currently, it just leverages multi-call stream decompression APIs with
internal sliding window buffers.  One-shot or bufferless decompression
could be implemented later for even better performance if needed.

[1] https://github.com/erofs/erofs-utils/issues/6
[2] https://lore.kernel.org/r/Y08h+z6CZdnS1XBm@B-P7TQMD6M-0146.lan
[3] https://www.rfc-editor.org/rfc/rfc8478.txt

Acked-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240508234453.17896-1-xiang@kernel.org
2024-05-09 07:46:56 +08:00
..
Kconfig erofs: Zstandard compression support 2024-05-09 07:46:56 +08:00
Makefile erofs: Zstandard compression support 2024-05-09 07:46:56 +08:00
compress.h erofs: Zstandard compression support 2024-05-09 07:46:56 +08:00
data.c vfs-6.9.super 2024-03-11 10:52:34 -07:00
decompressor.c erofs: Zstandard compression support 2024-05-09 07:46:56 +08:00
decompressor_deflate.c erofs: refine managed cache operations to folios 2024-03-10 18:41:25 +08:00
decompressor_lzma.c erofs: refine managed cache operations to folios 2024-03-10 18:41:25 +08:00
decompressor_zstd.c erofs: Zstandard compression support 2024-05-09 07:46:56 +08:00
dir.c erofs: keep meta inode into erofs_buf 2023-04-17 01:15:50 +08:00
erofs_fs.h erofs: Zstandard compression support 2024-05-09 07:46:56 +08:00
fscache.c erofs: modify the error message when prepare_ondemand_read failed 2024-04-28 20:36:44 +08:00
inode.c erofs: support compressed inodes over fscache 2024-03-10 18:41:32 +08:00
internal.h erofs: Zstandard compression support 2024-05-09 07:46:56 +08:00
namei.c erofs: fix refcount on the metabuf used for inode lookup 2024-02-22 15:54:21 +08:00
super.c erofs: Zstandard compression support 2024-05-09 07:46:56 +08:00
sysfs.c erofs: make kobj_type structures constant 2023-02-15 08:11:26 +08:00
xattr.c erofs: move erofs_xattr_handlers and xattr_handler_map to .rodata 2023-10-09 16:24:17 +02:00
xattr.h erofs: move erofs_xattr_handlers and xattr_handler_map to .rodata 2023-10-09 16:24:17 +02:00
zdata.c erofs: support compressed inodes over fscache 2024-03-10 18:41:32 +08:00
zmap.c erofs: Zstandard compression support 2024-05-09 07:46:56 +08:00
zutil.c erofs: add a reserved buffer pool for lz4 decompression 2024-05-08 17:12:51 +08:00