Skip to content

erofs-utils: prepare for per-(sub)file compression strategies

Gao Xiang linux-erofs 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3erofs-utils: prepare for per-(sub)file compress strategieslib/compress.c+54 -270 replies
2/3erofs-utils: introduce --enable-debugconfigure.ac+12 -00 replies
3/3erofs-utils: support randomizing pclusterblks in debugging modeinclude/erofs/config.h lib/compress.c mkfs/main.c+39 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] erofs-utils: prepare for per-(sub)file compression strategies

Hi all,

This patchset mainly provides a new helper z_erofs_get_max_pclusterblks() to prepare for per-(sub)file compression strategies, valid pclustersize can be returned according to detailed data type or access patterns.

In order to do that, compression header is now generated on the per-file basis as well, which will be also needed for parallel compression in the future.

randomizing pclusterblks support in debugging mode is also added to randomize each pcluster size for big pcluster selftest.

Thanks,
Gao Xiang

Gao Xiang (3):
erofs-utils: prepare for per-(sub)file compress strategies
erofs-utils: introduce --enable-debug
erofs-utils: support randomizing pclusterblks in debugging mode

 configure.ac           | 12 ++++++
 include/erofs/config.h |  3 ++
 lib/compress.c         | 85 ++++++++++++++++++++++++++++--------------
 mkfs/main.c            | 50 ++++++++++++++++---------
 4 files changed, 105 insertions(+), 45 deletions(-)
Signature · 1 line
2.20.1