From: Gao Xiang <hsiangkao@linux.alibaba.com>
To: linux-erofs@lists.ozlabs.org
Cc: Gao Xiang <hsiangkao@linux.alibaba.com>
Subject: [PATCH v9 0/2] erofs-utils: support tail-packing inline compressed data
Date: Fri, 14 Jan 2022 19:50:51 +0800 [thread overview]
Message-ID: <20220114115053.28824-1-hsiangkao@linux.alibaba.com> (raw)
v8: https://lore.kernel.org/r/20211224012316.42929-1-hsiangkao@linux.alibaba.com
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(-)
--
2.24.4
next reply other threads:[~2022-01-14 11:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-14 11:50 Gao Xiang [this message]
2022-01-14 11:50 ` [PATCH v9 1/2] erofs-utils: fuse: support tail-packing inline compressed data Gao Xiang
2022-01-14 11:50 ` [PATCH v9 2/2] erofs-utils: mkfs: " Gao Xiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220114115053.28824-1-hsiangkao@linux.alibaba.com \
--to=hsiangkao@linux.alibaba.com \
--cc=linux-erofs@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox