]> git.baikalelectronics.ru Git - kernel.git/commit
erofs: fix up inplace decompression success rate
authorGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 14 Oct 2022 06:49:15 +0000 (14:49 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Sun, 16 Oct 2022 22:55:49 +0000 (06:55 +0800)
commitb5cd19b8376c7a28230143fd89c801c5cc666899
treef2d7c3be79585921e0a90f1006d4629fb3eef316
parent1e5cae85141b6f7944616388dafcdcbbf3ebae78
erofs: fix up inplace decompression success rate

Partial decompression should be checked after updating length.
It's a new regression when introducing multi-reference pclusters.

Fixes: faaef36afeb3 ("erofs: record the longest decompressed size in this round")
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20221014064915.8103-1-hsiangkao@linux.alibaba.com
fs/erofs/zdata.c