Commit 907d4bfc authored by Gao Xiang's avatar Gao Xiang Committed by Chromeos LUCI
Browse files

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: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarGao 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: default avatarRyuichiro Chiba <chibar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/4583874


Reviewed-by: default avatarSean Paul <sean@poorly.run>
Reviewed-by: default avatarHikaru Nishida <hikalium@chromium.org>
parent 68923c64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment