Re: [PATCH 0/3] erofs: random decompression cleanups

From: Chao Yu
Date: Tue May 31 2022 - 02:45:49 EST


Acked-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,

On 2022/5/29 13:54, Gao Xiang wrote:
From: Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx>

Hi folks,

Now I'm working on cleanuping decompression code and doing some
folio adaption for the next 5.20 cycle, see:

https://git.kernel.org/pub/scm/linux/kernel/git/xiang/linux.git/log/?h=erofs/folios

This cleanup work completely gets rid of PageError usage finally
and tries to prepare for introducing rolling hashing for EROFS
since EROFS supports compressing variable-sized data instead of
fixed-sized clusters.

Therefore, EROFS can support rolling hash easily and our mechanism
can make full use of filesystem interfaces (byte-addressed) naturally.

Before that, I'd like to submit some trivial cleanups in advance for
the 5.19 cycle. All patches are without any logical change, so I can
have a more recent codebase for the next rework cycle.

Thanks,
Gao Xiang

Gao Xiang (3):
erofs: get rid of `struct z_erofs_collection'
erofs: get rid of label `restart_now'
erofs: simplify z_erofs_pcluster_readmore()

fs/erofs/zdata.c | 165 +++++++++++++++++++----------------------------
fs/erofs/zdata.h | 50 +++++++-------
2 files changed, 88 insertions(+), 127 deletions(-)