[PATCH v5 1/2] erofs: avoid memory allocation failure during rolling decompression

Gao Xiang hsiangkao at redhat.com
Mon Mar 15 22:24:07 AEDT 2021


On Fri, Mar 05, 2021 at 05:58:39PM +0800, Huang Jianan via Linux-erofs wrote:
> 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.
> 
> Signed-off-by: Huang Jianan <huangjianan at oppo.com>
> Signed-off-by: Guo Weichao <guoweichao at oppo.com>

Reviewed-by: Gao Xiang <hsiangkao at redhat.com>

Thanks,
Gao Xiang



More information about the Linux-erofs mailing list