[RFC PATCH 0/3] erofs-utils: compressed fragments feature

Gao Xiang hsiangkao at linux.alibaba.com
Mon Jul 11 20:02:43 AEST 2022


Hi Yue,

On Mon, Jul 11, 2022 at 05:09:55PM +0800, Yue Hu wrote:
> In order to achieve greater compression ratio, let's introduce
> compressed fragments feature which can merge tail of per-file or the
> whole files into one special inode to reach the target.
> 
> And we can also set pcluster size to fragments inode for different
> compression requirments.
> 
> In this patchset, we also improve the uncompressed data layout of
> compressed files. Just write it from 'clusterofs' instead of 0 since it
> can benefit from in-place I/O. For now, it only goes with fragments.
> 
> The main idea above is from Xiang.
> 

I just took a preliminary try and it seems work, but in order to form it
better, I have to postpone it for the next version of 5.20 (6.0?)
since I'm still working on cleaning up and rolling hash deduplication.

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list