[f2fs-dev] [Bug 218471] F2FS fails to mount rw at boot with "invalid zstd compress level: 6"

2024-02-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218471 Chao Yu (c...@kernel.org) changed: What|Removed |Added CC||c...@kernel.org --- Comment #

Re: [f2fs-dev] [PATCH 6.1] f2fs: add helper to check compression level

2024-02-13 Thread Greg KH
On Tue, Feb 13, 2024 at 12:05:30AM +0800, Chao Yu wrote: > From: Sheng Yong > > commit c571fbb5b59a3741e48014faa92c2f14bc59fe50 upstream. > > This patch adds a helper function to check if compression level is > valid. Now queued up, thanks. greg k-h __

Re: [f2fs-dev] [RESEND PATCH v9 1/3] libfs: Introduce case-insensitive string comparison helper

2024-02-13 Thread Gabriel Krisman Bertazi
Eugen Hristev writes: > On 2/9/24 16:40, Gabriel Krisman Bertazi wrote: >> Eugen Hristev writes: > With the changes you suggested, I get these errors now : > > [ 107.409410] EXT4-fs error (device sda1): ext4_lookup:1816: inode #521217: > comm > ls: 'CUC' linked to parent dir > ls: cannot acces

[f2fs-dev] [PATCH v3 2/2] f2fs: support file pinning for zoned devices

2024-02-13 Thread Daeho Jeong
From: Daeho Jeong Support file pinning with conventional storage area for zoned devices Signed-off-by: Daeho Jeong Signed-off-by: Jaegeuk Kim --- v3: check the hole when migrating blocks for swap. do not use the remainder of cold pin section. v2: flush previous dirty pages before swapon.

[f2fs-dev] [PATCH v3 1/2] f2fs: separate f2fs_gc_range() to use GC for a range

2024-02-13 Thread Daeho Jeong
From: Daeho Jeong Make f2fs_gc_range() an extenal function to use it for GC for a range. Signed-off-by: Daeho Jeong Signed-off-by: Jaegeuk Kim --- fs/f2fs/gc.c | 49 - 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/fs/f2fs/gc.c

[f2fs-dev] [PATCH] mkfs.f2fs: fix sparse_mode case on stat

2024-02-13 Thread Jaegeuk Kim
When we turn on sparse_mode, stat() will be failed, as the file will be created afterwards. Let's fix. Fixes: 14197d546b93 ("f2fs-tools: fix to check loop device") Signed-off-by: Jaegeuk Kim --- lib/libf2fs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/libf2fs.c b/lib/libf2fs.c in

Re: [f2fs-dev] [PATCH] mkfs.f2fs: fix sparse_mode case on stat

2024-02-13 Thread Daeho Jeong
Reviewed-by: Daeho Jeong On Tue, Feb 13, 2024 at 3:42 PM Jaegeuk Kim wrote: > > When we turn on sparse_mode, stat() will be failed, as the file will be > created afterwards. Let's fix. > > Fixes: 14197d546b93 ("f2fs-tools: fix to check loop device") > Signed-off-by: Jaegeuk Kim > --- > lib/lib

[f2fs-dev] [PATCH v6] f2fs: New victim selection for GC

2024-02-13 Thread Yonggil Song
Overview This patch introduces a new way to preference data sections when selecting GC victims. Migration of data blocks causes invalidation of node blocks. Therefore, in situations where GC is frequent, selecting data blocks as victims can reduce unnecessary block migration by invalida