Skip to contentSkip to conversation

f2fs: add radix_tree_preload_end in error case

PATCH Applied Yohan Joung 2 participants 2 messages Mar 27, 2023 – Apr 12, 2023 F2FS file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 f2fs: add radix_tree_preload_end in error case

To prevent excessive increase in preemption count
add radix_tree_preload_end in retry

---
 fs/f2fs/checkpoint.c | 1 +
 1 file changed, 1 insertion(+)
fs/f2fs/checkpoint.c +1 -0
index 1e0164cde23d..72205a9437b5 100644
@@ -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;
Signature · 8 lines
2.25.1



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
#1 lore raw
This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <[email protected]>:

Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <[email protected]>:

Quoted 7 lines · 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

---
 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!

Signature · 10 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html




_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel