[PATCH] erofs: Zstandard compression support
Chao Yu
chao at kernel.org
Wed May 8 23:12:06 AEST 2024
On 2024/5/8 17:03, Gao Xiang wrote:
> 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
> Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>
Acked-by: Chao Yu <chao at kernel.org>
Thanks,
More information about the Linux-erofs
mailing list