Skip to content

erofs-utils: support tail-packing inline compressed data

Gao Xiang linux-erofs 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest2 patches 0 repliesNew
  2. v82 patches 0 repliesSuperseded
  3. v72 patches 1 replySuperseded

Changes in v9 from the cover letter

- [1/2] sync up with the latest in-kernel version;
- [2/2] fix an assertion failure in debugging mode.

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2erofs-utils: fuse: support tail-packing inline compressed datainclude/erofs/internal.h include/erofs_fs.h lib/decompress.c +2 more+92 -290 replies
2/2erofs-utils: mkfs: support tail-packing inline compressed datainclude/erofs/config.h include/erofs/internal.h lib/compress.c +4 more+159 -480 replies

Reviews trailers per patch

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

Read the v9 thread

Cover letter [PATCH v9 0/2] erofs-utils: support tail-packing inline compressed data

v8: https://lore.kernel.org/r/[email protected]

This is a follow-up of previous v6 Yue Hu's patchset. It implements tail-packing inline for compressed files. In particular, called tail pcluster inline.

Here is some evaluation of Linux 5.10.87 source code (75368 inodes):
linux-5.10.87 (erofs, uncompressed) 972570624

linux-5.10.87 (erofs, lz4hc,9 4k tailpacking) 391696384
linux-5.10.87 (erofs, lz4hc,9 8k tailpacking) 368807936
linux-5.10.87 (erofs, lz4hc,9 16k tailpacking) 345649152

linux-5.10.87 (erofs, lz4hc,9 4k vanilla) 416079872
linux-5.10.87 (erofs, lz4hc,9 8k vanilla) 395493376
linux-5.10.87 (erofs, lz4hc,9 16k vanilla) 383213568

Usage:
mkfs.erofs -zlz4hc -Eztailpacking foo.erofs.img foo/

Thanks,
Gao Xiang

changes since v8:
- [1/2] sync up with the latest in-kernel version;
- [2/2] fix an assertion failure in debugging mode.

Yue Hu (2):
erofs-utils: fuse: support tail-packing inline compressed data
erofs-utils: mkfs: support tail-packing inline compressed data

 include/erofs/config.h   |   1 +
 include/erofs/internal.h |   6 ++
 include/erofs_fs.h       |  10 +++-
 lib/compress.c           | 122 ++++++++++++++++++++++++++++++---------
 lib/compressor.c         |  16 +++--
 lib/compressor.h         |   2 +-
 lib/decompress.c         |   5 +-
 lib/inode.c              |  57 +++++++++++++-----
 lib/namei.c              |   2 +-
 lib/zmap.c               |  99 +++++++++++++++++++++++--------
 mkfs/main.c              |   8 +++
 11 files changed, 251 insertions(+), 77 deletions(-)
Signature · 1 line
2.24.4