erofs: allow partially filled compressed bvecs
authorYue Hu <huyue2@coolpad.com>
Thu, 21 Dec 2023 06:23:41 +0000 (14:23 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 21 Dec 2023 14:58:21 +0000 (22:58 +0800)
commit652cdaa886e3ad1d051e5aef733c5a546171362f
tree706c006ee77c0b437d62675ae55861574414a1f3
parent0ee3a0d59e007320167a2e9f4b8bf1304ada7771
erofs: allow partially filled compressed bvecs

In order to reduce memory footprints even further, let's allow
partially filled compressed bvecs for readahead to bail out later.

Signed-off-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20231221062341.23901-1-zbestahu@gmail.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/zdata.c