[PATCH 0/3] erofs: random decompression cleanups

Gao Xiang xiang at kernel.org
Sun May 29 15:54:22 AEST 2022


From: Gao Xiang <hsiangkao at linux.alibaba.com>

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(-)

-- 
2.30.2



More information about the Linux-erofs mailing list