All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yue Hu <huyue2@yulong.com>
To: linux-erofs@lists.ozlabs.org
Cc: zhangwen@yulong.com, Yue Hu <huyue2@yulong.com>,
	geshifei@yulong.com, shaojunjun@yulong.com
Subject: [RFC PATCH v2 0/2] erofs-utils: compression inline feature
Date: Fri, 29 Oct 2021 13:49:29 +0800	[thread overview]
Message-ID: <cover.1635485195.git.huyue2@yulong.com> (raw)

Now, we only support tail-end inline data for uncompressed file. We should
also support it for compressed file to further decrease tail extent I/O and
save more space. That is original intention as well from Xiang.

Note that tail pcluster data is compressed by 4KB in this patch, which looks
like inefficent. As Xiang mentioned, there is another better way to handle it.
This patch is just using 4KB compression policy, we may improve it next.

Thanks.

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

 include/erofs/internal.h |   4 ++
 include/erofs_fs.h       |  10 ++-
 lib/compress.c           |  76 ++++++++++++++++++-----
 lib/compressor.c         |   9 +--
 lib/decompress.c         |   7 ++-
 lib/inode.c              |  40 ++++++------
 lib/zmap.c               | 130 ++++++++++++++++++++++++++++++++++++---
 mkfs/main.c              |   6 ++
 8 files changed, 228 insertions(+), 54 deletions(-)

-- 
2.29.0




             reply	other threads:[~2021-10-29  5:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-29  5:49 Yue Hu [this message]
2021-10-29  5:49 ` [RFC PATCH v2 1/2] erofs-utils: support tail-packing inline compressed data Yue Hu
2021-10-29  5:49 ` [RFC PATCH v2 2/2] erofs-utils: fuse: " Yue Hu

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=cover.1635485195.git.huyue2@yulong.com \
    --to=huyue2@yulong.com \
    --cc=geshifei@yulong.com \
    --cc=linux-erofs@lists.ozlabs.org \
    --cc=shaojunjun@yulong.com \
    --cc=zhangwen@yulong.com \
    /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.