[f2fs-dev] [PATCH v2] f2fs: New victim selection for GC

2023-12-08 Thread Yonggil Song
Overview This patch introduces a new way to preference data sections when selecting GC victims. Migration of data blocks causes invalidation of node blocks. Therefore, in situations where GC is frequent, selecting data blocks as victims can reduce unnecessary block migration by invalidati

[f2fs-dev] [PATCH] f2fs: fix to check return value of f2fs_recover_xattr_data

2023-12-08 Thread Zhiguo Niu
Should check return value of f2fs_recover_xattr_data in __f2fs_setxattr rather than doing invalid retry if error happen. Also just do set_page_dirty in f2fs_recover_xattr_data when page is changed really. Fixes: 50a472bbc79f ("f2fs: do not return EFSCORRUPTED, but try to run online repair") Sign