Skip to content

erofs: random decompression cleanups

Gao Xiang linux-erofs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3erofs: get rid of `struct z_erofs_collection'fs/erofs/zdata.c fs/erofs/zdata.h+65 -960 replies
2/3erofs: get rid of label `restart_now'fs/erofs/zdata.c+14 -190 replies
3/3erofs: simplify z_erofs_pcluster_readmore()fs/erofs/zdata.c+10 -130 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChao Yu
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] erofs: random decompression cleanups

From: Gao Xiang <[email protected]>

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(-)
Signature · 1 line
2.30.2