diff options
author | Yohan Joung <jyh429@gmail.com> | 2023-03-27 15:58:00 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-04-13 05:00:37 +0200 |
commit | d09bd853005c720d5578f80b34e144ff3bc3eae8 (patch) | |
tree | f52a0a62f4dc29150691d0fe6d33f64f35f0db88 /fs/f2fs | |
parent | f2fs: fix to recover quota data correctly (diff) | |
download | linux-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.c | 1 |
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; |