FROMGIT: erofs: add support for the full decompressed length
Previously, there is no need to get the full decompressed length since EROFS supports partial decompression. However for some other cases such as fiemap, the full decompressed length is necessary for iomap to make it work properly. This patch adds a way to get the full decompressed length. Note that it takes more metadata overhead and it'd be avoided if possible in the performance sensitive scenario. Link: https://lore.kernel.org/r/20210818152231.243691-1-hsiangkao@linux.alibaba.com Reviewed-by:Chao Yu <chao@kernel.org> Signed-off-by:
Gao Xiang <hsiangkao@linux.alibaba.com> (cherry picked from commit 03bd8384 https://android.googlesource.com/kernel/common android13-5.10) BUG=b:273658215 TEST=`tast run $DUT arc.Boot.vm` TEST=`tast run $DUT arc.Playstore.vm` Change-Id: I8071eb78330cf9b91624d15a21f046854143d10f Signed-off-by:
Ryuichiro Chiba <chibar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/4583874 Reviewed-by:
Sean Paul <sean@poorly.run> Reviewed-by:
Hikaru Nishida <hikalium@chromium.org>
Loading
Please sign in to comment