* [PATCH v2] f2fs: forcibly migrate to secure space for zoned device file pinning
@ 2024-09-12 16:59 Daeho Jeong
2024-09-13 1:50 ` [f2fs-dev] " Chao Yu
2024-09-16 21:30 ` patchwork-bot+f2fs
0 siblings, 2 replies; 3+ messages in thread
From: Daeho Jeong @ 2024-09-12 16:59 UTC (permalink / raw)
To: linux-kernel, linux-f2fs-devel, kernel-team; +Cc: Daeho Jeong
From: Daeho Jeong <daehojeong@google.com>
We need to migrate data blocks even though it is full to secure space
for zoned device file pinning.
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Fixes: 9703d69d9d15 ("f2fs: support file pinning for zoned devices")
---
v2: change to fit on a new prototype of do_garbage_collect
---
fs/f2fs/gc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c
index d3e3104c4492..baa98c3bd667 100644
--- a/fs/f2fs/gc.c
+++ b/fs/f2fs/gc.c
@@ -2070,8 +2070,7 @@ int f2fs_gc_range(struct f2fs_sb_info *sbi,
.iroot = RADIX_TREE_INIT(gc_list.iroot, GFP_NOFS),
};
- do_garbage_collect(sbi, segno, &gc_list, FG_GC,
- dry_run_sections == 0, false);
+ do_garbage_collect(sbi, segno, &gc_list, FG_GC, true, false);
put_gc_inode(&gc_list);
if (!dry_run && get_valid_blocks(sbi, segno, true))
--
2.46.0.662.g92d0881bb0-goog
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [f2fs-dev] [PATCH v2] f2fs: forcibly migrate to secure space for zoned device file pinning
2024-09-12 16:59 [PATCH v2] f2fs: forcibly migrate to secure space for zoned device file pinning Daeho Jeong
@ 2024-09-13 1:50 ` Chao Yu
2024-09-16 21:30 ` patchwork-bot+f2fs
1 sibling, 0 replies; 3+ messages in thread
From: Chao Yu @ 2024-09-13 1:50 UTC (permalink / raw)
To: Daeho Jeong, linux-kernel, linux-f2fs-devel, kernel-team
Cc: chao, Daeho Jeong
On 2024/9/13 0:59, Daeho Jeong wrote:
> From: Daeho Jeong <daehojeong@google.com>
>
> We need to migrate data blocks even though it is full to secure space
> for zoned device file pinning.
>
> Signed-off-by: Daeho Jeong <daehojeong@google.com>
> Fixes: 9703d69d9d15 ("f2fs: support file pinning for zoned devices")
Reviewed-by: Chao Yu <chao@kernel.org>
Thanks,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [f2fs-dev] [PATCH v2] f2fs: forcibly migrate to secure space for zoned device file pinning
2024-09-12 16:59 [PATCH v2] f2fs: forcibly migrate to secure space for zoned device file pinning Daeho Jeong
2024-09-13 1:50 ` [f2fs-dev] " Chao Yu
@ 2024-09-16 21:30 ` patchwork-bot+f2fs
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+f2fs @ 2024-09-16 21:30 UTC (permalink / raw)
To: Daeho Jeong; +Cc: linux-kernel, linux-f2fs-devel, kernel-team, daehojeong
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@kernel.org>:
On Thu, 12 Sep 2024 09:59:58 -0700 you wrote:
> From: Daeho Jeong <daehojeong@google.com>
>
> We need to migrate data blocks even though it is full to secure space
> for zoned device file pinning.
>
> Signed-off-by: Daeho Jeong <daehojeong@google.com>
> Fixes: 9703d69d9d15 ("f2fs: support file pinning for zoned devices")
>
> [...]
Here is the summary with links:
- [f2fs-dev,v2] f2fs: forcibly migrate to secure space for zoned device file pinning
https://git.kernel.org/jaegeuk/f2fs/c/5cc69a27abfa
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-16 21:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-12 16:59 [PATCH v2] f2fs: forcibly migrate to secure space for zoned device file pinning Daeho Jeong
2024-09-13 1:50 ` [f2fs-dev] " Chao Yu
2024-09-16 21:30 ` patchwork-bot+f2fs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox