Commit d09bd853 authored by Yohan Joung's avatar Yohan Joung Committed by Jaegeuk Kim
Browse files

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: default avatarYohan Joung <yohan.joung@sk.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent e1bb7d3d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;