f2fs: add radix_tree_preload_end in error case

To prevent excessive increase in preemption count
add radix_tree_preload_end in retry

Signed-off-by: Yohan Joung <yohan.joung@sk.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
Yohan Joung 2023-03-27 22:58:00 +09:00 committed by Jaegeuk Kim
parent e1bb7d3d9c
commit d09bd85300

View file

@ -515,6 +515,7 @@ static void __add_ino_entry(struct f2fs_sb_info *sbi, nid_t ino,
if (!e) {
if (!new) {
spin_unlock(&im->ino_lock);
radix_tree_preload_end();
goto retry;
}
e = new;