On Thu, 1 Dec 2022 11:31:19 +0800
Gao Xiang <[email protected]> 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 <[email protected]>
Reviewed-by: Yue Hu <[email protected]>
> ---
> fs/erofs/zdata.c | 65 +++++++++++++++++++-----------------------------
> 1 file changed, 25 insertions(+), 40 deletions(-)