Re: [f2fs-dev] [PATCH 2/2] f2fs: do not bother checkpoint by f2fs_get_node_info

From: Chao Yu
Date: Thu Dec 30 2021 - 01:37:07 EST


On 2021/12/15 2:24, Jaegeuk Kim wrote:
This patch tries to mitigate lock contention between f2fs_write_checkpoint and
f2fs_get_node_info along with nat_tree_lock.

The idea is, if checkpoint is currently running, other threads that try to grab
nat_tree_lock would be better to wait for checkpoint.

Signed-off-by: Jaegeuk Kim <jaegeuk@xxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,