aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYohan Joung <[email protected]>2023-03-27 22:58:00 +0900
committerJaegeuk Kim <[email protected]>2023-04-12 20:00:37 -0700
commitd09bd853005c720d5578f80b34e144ff3bc3eae8 (patch)
treef52a0a62f4dc29150691d0fe6d33f64f35f0db88
parente1bb7d3d9cbf3ddcb8367d87b2f70757ec55f951 (diff)
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 <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
-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;