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

Yue Hu zbestahu at gmail.com
Fri Dec 2 12:47:37 AEDT 2022


On Thu,  1 Dec 2022 11:31:19 +0800
Gao Xiang <hsiangkao at linux.alibaba.com> wrote:

> 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.
> 
> Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>

Reviewed-by: Yue Hu <huyue2 at coolpad.com>

> ---
>  fs/erofs/zdata.c | 65 +++++++++++++++++++-----------------------------
>  1 file changed, 25 insertions(+), 40 deletions(-)


More information about the Linux-erofs mailing list