summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorYohan Joung <jyh429@gmail.com>2023-03-27 15:58:00 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2023-04-13 05:00:37 +0200
commitd09bd853005c720d5578f80b34e144ff3bc3eae8 (patch)
treef52a0a62f4dc29150691d0fe6d33f64f35f0db88 /fs/f2fs
parentf2fs: fix to recover quota data correctly (diff)
downloadlinux-d09bd853005c720d5578f80b34e144ff3bc3eae8.tar.xz
linux-d09bd853005c720d5578f80b34e144ff3bc3eae8.zip
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>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/checkpoint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index 19e2cfe3b5be..448ecf5000b8 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -515,6 +515,7 @@ retry:
if (!e) {
if (!new) {
spin_unlock(&im->ino_lock);
+ radix_tree_preload_end();
goto retry;
}
e = new;