[PATCH v4 0/2] erofs-utils: mkfs: allow to specify dictionary size for compression algorithms

Yifan Zhao zhaoyifan at sjtu.edu.cn
Sat Jan 20 22:53:10 AEDT 2024


This patchset allows to specify dictionary size for compression algorithms.

change since v3:
  - remove the third patch as is unrelated to this patchset, will send as a
    separate patch later
  - Now patch 1 and 2 are able to be `git am` without any conflict

Yifan Zhao (2):
  erofs-utils: mkfs: merge erofs_compressor_setlevel() into
    erofs_compressor_init()
  erofs-utils: mkfs: allow to specify dictionary size for compression
    algorithms

 include/erofs/config.h   |  10 ++--
 lib/compress.c           |  37 ++++++++------
 lib/compress_hints.c     |   2 +-
 lib/compressor.c         |  45 +++++++++++------
 lib/compressor.h         |   9 ++--
 lib/compressor_deflate.c |  26 ++++++++--
 lib/compressor_liblzma.c |  34 ++++++++-----
 lib/compressor_lz4.c     |   2 -
 lib/config.c             |   4 +-
 lib/inode.c              |   2 +-
 mkfs/main.c              | 104 +++++++++++++++++++++++++++++++--------
 11 files changed, 197 insertions(+), 78 deletions(-)

-- 
2.43.0



More information about the Linux-erofs mailing list