Re: [f2fs-dev] [PATCH v5] f2fs: reduce expensive checkpoint trigger frequency

From: Chao Yu
Date: Tue Jul 09 2024 - 05:56:06 EST


On 2024/7/9 16:40, wangzijie wrote:
Hi Chao,
I think that we should call f2fs_remove_ino_entry in f2fs_evict_inode to delete
ino_entry in CP_XATTR_DIR list.

wangzijie,

For the case:
- update parent's xattr
- flush parent's metadata to disk
- evict parent's inode
- fsync child --- we should trigger checkpoint to persist parent's
xattr in checkpoint?