erofs: introduce chunk-based file on-disk format
authorGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 20 Aug 2021 10:00:18 +0000 (18:00 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 20 Aug 2021 14:38:01 +0000 (22:38 +0800)
commit2a9dc7a8fec6ca287e2c038f9441e24269e10b5f
tree69cc5664ddef0dd151f1c9fb3d573cb36640a42b
parenteadcd6b5a1eb39866ab8d8a3e4f2e51bc51a2350
erofs: introduce chunk-based file on-disk format

Currently, uncompressed data except for tail-packing inline is
consecutive on disk.

In order to support chunk-based data deduplication, add a new
corresponding inode data layout.

In the future, the data source of chunks can be either (un)compressed.

Link: https://lore.kernel.org/r/20210820100019.208490-1-hsiangkao@linux.alibaba.com
Reviewed-by: Liu Bo <bo.liu@linux.alibaba.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Documentation/filesystems/erofs.rst
fs/erofs/erofs_fs.h