Re: [PATCH v4 2/3] erofs: introduce the secondary compression head

From: Chao Yu
Date: Tue Oct 19 2021 - 08:57:00 EST


On 2021/10/18 0:57, Gao Xiang wrote:
From: Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx>

Previously, for each HEAD lcluster, it can be either HEAD or PLAIN
lcluster to indicate whether the whole pcluster is compressed or not.

In this patch, a new HEAD2 head type is introduced to specify another
compression algorithm other than the primary algorithm for each
compressed file, which can be used for upcoming LZMA compression and
LZ4 range dictionary compression for various data patterns.

It has been stayed in the EROFS roadmap for years. Complete it now!

Reviewed-by: Yue Hu <huyue2@xxxxxxxxxx>
Signed-off-by: Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,