diff options
author | Yue Hu <huyue2@coolpad.com> | 2022-09-23 05:11:22 +0300 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-09-26 18:55:39 +0300 |
commit | b15b2e307c3a1970d92da77a3ef57ee53d119d8e (patch) | |
tree | e2fdea78f65addf0eb8af1abc4f3746897eddee1 /fs/erofs/decompressor_lzma.c | |
parent | fdffc091e6f94602558bba712b51bc16f79fd6d5 (diff) | |
download | linux-b15b2e307c3a1970d92da77a3ef57ee53d119d8e.tar.xz |
erofs: support on-disk compressed fragments data
Introduce on-disk compressed fragments data feature.
This approach adds a new field called `h_fragmentoff' in the per-file
compression header to indicate the fragment offset of each tail pcluster
or the whole file in the special packed inode.
Similar to ztailpacking, it will also find and record the 'headlcn'
of the tail pcluster when initializing per-inode zmap for making
follow-on requests more easy.
Signed-off-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/YzHKxcFTlHGgXeH9@B-P7TQMD6M-0146.local
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'fs/erofs/decompressor_lzma.c')
0 files changed, 0 insertions, 0 deletions