All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/2] erofs-utils: compression inline feature
@ 2021-10-29  5:49 Yue Hu
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Yue Hu @ 2021-10-29  5:49 UTC (permalink / raw)
  To: linux-erofs; +Cc: zhangwen, Yue Hu, geshifei, shaojunjun

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-29  5:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-29  5:49 [RFC PATCH v2 0/2] erofs-utils: compression inline feature Yue Hu
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

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.