[RFC PATCH 0/2] erofs-utils: compression inline feature

Yue Hu huyue2 at yulong.com
Mon Oct 25 23:30:42 AEDT 2021


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

Note that, current mapping logic code in erofsuse is only based on
non-bigpcluster in erofsfuse, but i would like to present it. May refine
it for big pcluster later. Let's foucs on this on-disk improvement first.

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 |  2 +
 include/erofs_fs.h       |  6 ++-
 lib/compress.c           | 74 ++++++++++++++++++++++++-------
 lib/compressor.c         |  9 ++--
 lib/decompress.c         |  4 ++
 lib/inode.c              | 50 +++++++++++----------
 lib/zmap.c               | 95 +++++++++++++++++++++++++++++++++++++---
 mkfs/main.c              |  6 +++
 8 files changed, 199 insertions(+), 47 deletions(-)

-- 
2.29.0





More information about the Linux-erofs mailing list