diff mbox series

[f2fs-dev] f2fs: add radix_tree_preload_end in error case

Message ID 20230327135800.524-1-yohan.joung@sk.com (mailing list archive)
State Accepted
Commit 03326ced4bc268d746823fa37367d82d0ca91694
Headers show
Series [f2fs-dev] f2fs: add radix_tree_preload_end in error case | expand

Commit Message

Yohan Joung March 27, 2023, 1:58 p.m. UTC
To prevent excessive increase in preemption count
add radix_tree_preload_end in retry

Signed-off-by: Yohan Joung <yohan.joung@sk.com>
---
 fs/f2fs/checkpoint.c | 1 +
 1 file changed, 1 insertion(+)

Comments

patchwork-bot+f2fs@kernel.org April 12, 2023, 4:20 p.m. UTC | #1
Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@kernel.org>:

On Mon, 27 Mar 2023 22:58:00 +0900 you wrote:
> To prevent excessive increase in preemption count
> add radix_tree_preload_end in retry
> 
> Signed-off-by: Yohan Joung <yohan.joung@sk.com>
> ---
>  fs/f2fs/checkpoint.c | 1 +
>  1 file changed, 1 insertion(+)

Here is the summary with links:
  - [f2fs-dev] f2fs: add radix_tree_preload_end in error case
    https://git.kernel.org/jaegeuk/f2fs/c/03326ced4bc2

You are awesome, thank you!
diff mbox series

Patch

diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index 1e0164cde23d..72205a9437b5 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -508,6 +508,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;