Re: [PATCH v1.1 1/2] erofs: add support for the full decompressed length

From: Chao Yu
Date: Wed Aug 18 2021 - 10:11:38 EST


On 2021/8/14 23:27, Gao Xiang wrote:
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.

Signed-off-by: Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,