From: Gao Xiang <hsiangkao@linux.alibaba.com>
To: linux-erofs@lists.ozlabs.org
Cc: Gao Xiang <hsiangkao@linux.alibaba.com>
Subject: [PATCH v8 0/2] erofs-utils: support tail-packing inline compressed data
Date: Fri, 24 Dec 2021 09:23:16 +0800 [thread overview]
Message-ID: <20211224012316.42929-1-hsiangkao@linux.alibaba.com> (raw)
Hi folks,
v7: https://lore.kernel.org/r/20211221094321.108367-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 v7:
- slightly change inblocks condition to !(final && len == count)
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 | 14 +++--
lib/compressor.h | 2 +-
lib/decompress.c | 5 +-
lib/inode.c | 55 +++++++++++++-----
lib/namei.c | 2 +-
lib/zmap.c | 101 ++++++++++++++++++++++++--------
mkfs/main.c | 8 +++
11 files changed, 249 insertions(+), 77 deletions(-)
--
2.24.4
next reply other threads:[~2021-12-24 1:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-24 1:23 Gao Xiang [this message]
2021-12-24 1:24 ` [PATCH v8 1/2] erofs-utils: fuse: support tail-packing inline compressed data Gao Xiang
2021-12-24 1:24 ` [PATCH v8 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=20211224012316.42929-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.