mirror of
https://github.com/torvalds/linux
synced 2024-10-17 00:39:37 +00:00
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:
parent
e1bb7d3d9c
commit
d09bd85300
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue