Re: [PATCH] erofs-utils: add preliminary zstd support

2024-05-09 Thread Gao Xiang
On 2024/5/9 17:53, Yifan Zhao wrote: Hi Gao, I found this zstd implementation failed in my smoking test[1] with -Eall-fragments and -Eztailpacking enabled. You could reproduce it with enwik8 workload. After a galance I notice that libzstd_compress_destsize() may return a value larger than

Re: [PATCH] erofs-utils: add preliminary zstd support

2024-05-09 Thread Yifan Zhao
Hi Gao, I found this zstd implementation failed in my smoking test[1] with -Eall-fragments and -Eztailpacking enabled. You could reproduce it with enwik8 workload. After a galance I notice that libzstd_compress_destsize() may return a value larger than `dstsize`. I mark it in the code below.

[PATCH] erofs-utils: add preliminary zstd support

2024-05-08 Thread Gao Xiang
This patch just adds a preliminary Zstandard support to erofs-utils since currently Zstandard doesn't support fixed-sized output compression officially. Mkfs could take more time to finish but it works at least. The built-in zstd compressor for erofs-utils is slowly WIP, therefore apparently it w