erofs: get rid of fe->backmost for cache decompression
authorGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 17 Aug 2023 08:28:11 +0000 (16:28 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 23 Aug 2023 15:46:42 +0000 (23:46 +0800)
commit06ec03660d819fdb88692d62a86464daf6ddb0a5
treefff9870c5b6606b7661adc16475e0a5cf59a7814
parent9a05c6a8bc26138d34e87b39e6a815603bc2a66c
erofs: get rid of fe->backmost for cache decompression

EROFS_MAP_FULL_MAPPED is more accurate to decide if caching the last
incomplete pcluster for later read or not.

Reviewed-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230817082813.81180-6-hsiangkao@linux.alibaba.com
fs/erofs/zdata.c