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

From: Chao Yu
Date: Tue Dec 06 2022 - 09:32:08 EST


On 2022/12/6 14:03, Gao Xiang wrote:
From: Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx>

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@xxxxxxxxxxx>
Signed-off-by: Yue Hu <huyue2@xxxxxxxxxxx>
Signed-off-by: Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,