[PATCH v3 0/4] erofs-utils: add DEFLATE compression support

Gao Xiang hsiangkao at linux.alibaba.com
Fri Jul 14 18:16:16 AEST 2023



On 2023/7/10 19:02, Gao Xiang wrote:
> Hi folks,
> 
> This is the EROFS DEFLATE support which I've been working on these
> months, mainly implementing DEFLATE fixed-sized output approach.  Note
> that it's still some room to improve but I introduce it just to avoid
> external outdated zlib dependencies and the basic zlib encoder.
> 
> DEFLATE is a popular generic-purpose compression algorithm for a quite
> long time (many advanced formats like zlib, gzip, zip, png are all
> based on that), which is made of LZ77 as wells as Huffman code, fully
> documented as RFC1951 and quite easy to understand.  DEFLATE encoder
> and decoder are also easy to be implemented and they generally have
> fairly small code size and runtime memory consumption.
> 
> In addition, there are several hardware on-market DEFLATE accelerators
> as well, such as (s390) DFLTCC, (Intel) IAA/QAT, (HiSilicon) ZIP
> accelerator, etc.  Therefore, it's useful to support DEFLATE in order
> to use these for async I/Os and get benefits from these later.
> 

I will apply this patchset since these patches work fine on my side
and do incremental development if there are some further improvements.

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list