Re: [PATCH] f2fs: check free sections before disable checkpoint

From: Chao Yu
Date: Thu Jan 11 2024 - 20:20:37 EST


On 2023/12/29 11:25, Wu Bo wrote:
'f2fs_is_checkpoint_ready()' checks free sections. If there is not
enough free sections, most f2fs operations will return -ENOSPC when
checkpoint is disabled.

It would be better to check free sections before disable checkpoint.

Signed-off-by: Wu Bo <bo.wu@xxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,