linux/fs/erofs
Huang Jianan b4892fa3e7 erofs: avoid memory allocation failure during rolling decompression
Currently, err would be treated as io error. Therefore, it'd be
better to ensure memory allocation during rolling decompression
to avoid such io error.

In the long term, we might consider adding another !Uptodate case
for such case.

Link: https://lore.kernel.org/r/20210316031515.90954-1-huangjianan@oppo.com
Reviewed-by: Gao Xiang <hsiangkao@redhat.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Huang Jianan <huangjianan@oppo.com>
Signed-off-by: Guo Weichao <guoweichao@oppo.com>
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
2021-03-29 10:18:00 +08:00
..
compress.h erofs: force inplace I/O under low memory scenario 2020-12-09 20:42:02 +08:00
data.c erofs: fix bio->bi_max_vecs behavior change 2021-03-08 10:43:32 +08:00
decompressor.c erofs: avoid memory allocation failure during rolling decompression 2021-03-29 10:18:00 +08:00
dir.c erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
erofs_fs.h erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
inode.c fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
internal.h fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
Kconfig erofs: support superblock checksum 2019-11-24 11:02:41 +08:00
Makefile erofs: remove a void EROFS_VERSION macro set in Makefile 2020-12-08 18:06:06 +08:00
namei.c erofs: use %pd instead of messing with ->d_name 2021-01-06 19:39:37 -05:00
super.c erofs: fix shift-out-of-bounds of blkszbits 2021-02-11 11:54:57 +08:00
tagptr.h erofs: move erofs out of staging 2019-08-24 14:20:10 +02:00
utils.c erofs: fold in used-once helper erofs_workgroup_unfreeze_final() 2020-08-03 21:04:46 +08:00
xattr.c erofs: initialized fields can only be observed after bit is set 2021-02-11 11:55:28 +08:00
xattr.h erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
zdata.c block: rename BIO_MAX_PAGES to BIO_MAX_VECS 2021-03-11 07:47:48 -07:00
zdata.h erofs: get rid of magical Z_EROFS_MAPPING_STAGING 2020-12-08 18:08:21 +08:00
zmap.c erofs: initialized fields can only be observed after bit is set 2021-02-11 11:55:28 +08:00
zpvec.h erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00