f2fs: forcibly migrate to secure space for zoned device file pinning
PATCH v2 1/1 f2fs: forcibly migrate to secure space for zoned device file pinning
From: Daeho Jeong <[email protected]>
We need to migrate data blocks even though it is full to secure space for zoned device file pinning.
---
v2: change to fit on a new prototype of do_garbage_collect
--- fs/f2fs/gc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
fs/f2fs/gc.c +1 -2
@@ -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))
Signature · 1 line
2.46.0.662.g92d0881bb0-goog
Quoted 7 lines · Daeho Jeong
From: Daeho Jeong <[email protected]>
We need to migrate data blocks even though it is full to secure space for zoned device file pinning.
Signed-off-by Daeho Jeong <[email protected]>Fixes 9703d69d9d15 ("f2fs: support file pinning for zoned devices")
Thanks,
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 9 lines · On Thu, 12 Sep 2024 09:59:58 -0700 you wrote:
From: Daeho Jeong <[email protected]>
We need to migrate data blocks even though it is full to secure space for zoned device file pinning.
Signed-off-by Daeho Jeong <[email protected]>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!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html