[PATCH v2] erofs: clean up cached I/O strategies

Chao Yu chao at kernel.org
Wed Dec 7 01:31:49 AEDT 2022


On 2022/12/6 14:03, Gao Xiang wrote:
> From: Gao Xiang <hsiangkao at linux.alibaba.com>
> 
> After commit 4c7e42552b3a ("erofs: remove useless cache strategy of
> DELAYEDALLOC"), only one cached I/O allocation strategy is supported:
> 
>    When cached I/O is preferred, page allocation is applied without
>    direct reclaim.  If allocation fails, fall back to inplace I/O.
> 
> Let's get rid of z_erofs_cache_alloctype.  No logical changes.
> 
> Reviewed-by: Yue Hu <huyue2 at coolpad.com>
> Signed-off-by: Yue Hu <huyue2 at coolpad.com>
> Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>

Reviewed-by: Chao Yu <chao at kernel.org>

Thanks,


More information about the Linux-erofs mailing list