Skip to content

Commit d09bd85

Browse files
Yohan JoungJaegeuk Kim
authored andcommitted
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>
1 parent e1bb7d3 commit d09bd85

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

fs/f2fs/checkpoint.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ static void __add_ino_entry(struct f2fs_sb_info *sbi, nid_t ino,
515515
if (!e) {
516516
if (!new) {
517517
spin_unlock(&im->ino_lock);
518+
radix_tree_preload_end();
518519
goto retry;
519520
}
520521
e = new;

0 commit comments

Comments
 (0)