summaryrefslogtreecommitdiff
path: root/fs/erofs/zdata.c
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2023-12-06 12:10:56 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2023-12-18 10:49:39 +0300
commit1ca01520148af399899ed66af5c78330bb9ecaf2 (patch)
tree1bdfb6a5a112bba4197ed26abc81ce5af111d39d /fs/erofs/zdata.c
parente5aba911dee5e20fa82efbe13e0af8f38ea459e7 (diff)
downloadlinux-1ca01520148af399899ed66af5c78330bb9ecaf2.tar.xz
erofs: refine z_erofs_transform_plain() for sub-page block support
Sub-page block support is still unusable even with previous commits if interlaced PLAIN pclusters exist. Such pclusters can be found if the fragment feature is enabled. This commit tries to handle "the head part" of interlaced PLAIN pclusters first: it was once explained in commit fdffc091e6f9 ("erofs: support interlaced uncompressed data for compressed files"). It uses a unique way for both shifted and interlaced PLAIN pclusters. As an added bonus, PLAIN pclusters larger than the block size is also supported now for the upcoming large lclusters. Reviewed-by: Yue Hu <huyue2@coolpad.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Link: https://lore.kernel.org/r/20231206091057.87027-5-hsiangkao@linux.alibaba.com
Diffstat (limited to 'fs/erofs/zdata.c')
0 files changed, 0 insertions, 0 deletions