Re: [f2fs-dev] [PATCH 3/3] f2fs: fix false alarm on invalid block address

2024-04-25 Thread Chao Yu
On 2024/4/19 18:27, Juhyung Park wrote: On Sat, Apr 13, 2024 at 5:57 AM Jaegeuk Kim wrote: On 04/11, Chao Yu wrote: On 2024/4/10 4:34, Jaegeuk Kim wrote: f2fs_ra_meta_pages can try to read ahead on invalid block address which is not the corruption case. In which case we will read ahead

[f2fs-dev] [PATCH] f2fs: fix to do sanity check on i_xattr_nid in sanity_check_inode()

2024-04-25 Thread Chao Yu
syzbot reports a kernel bug as below: F2FS-fs (loop0): Mounted with checkpoint version = 48b305e4 == BUG: KASAN: slab-out-of-bounds in f2fs_test_bit fs/f2fs/f2fs.h:2933 [inline] BUG: KASAN: slab-out-of-bounds in current_nat_addr

[f2fs-dev] [syzbot] [f2fs?] KASAN: slab-out-of-bounds Read in f2fs_get_node_info

2024-04-25 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:ed30a4a51bb1 Linux 6.9-rc5 git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=1116bc3098 kernel config: https://syzkaller.appspot.com/x/.config?x=5a05c230e142f2bc dashboard link:

Re: [PATCH 3/6] memory-failure: Remove calls to page_mapping()

2024-04-25 Thread Miaohe Lin
On 2024/4/24 6:55, Matthew Wilcox (Oracle) wrote: > This is mostly just inlining page_mapping() into the two callers. > > Signed-off-by: Matthew Wilcox (Oracle) Acked-by: Miaohe Lin Thanks. . > --- > mm/memory-failure.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff

Re: [f2fs-dev] [PATCH] f2fs: use helper to print zone condition

2024-04-25 Thread Chao Yu
On 2024/4/23 19:27, Wu Bo wrote: To make code clean, use blk_zone_cond_str() to print debug information. Signed-off-by: Wu Bo Reviewed-by: Chao Yu Thanks, ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net

Re: [f2fs-dev] [syzbot] [f2fs?] KASAN: slab-out-of-bounds Read in f2fs_get_node_info

2024-04-25 Thread Chao Yu
#syz test git://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git bugfix/syzbot On 2024/4/25 15:59, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:ed30a4a51bb1 Linux 6.9-rc5 git tree: upstream console+strace:

Re: [f2fs-dev] [syzbot] [f2fs?] KASAN: slab-out-of-bounds Read in f2fs_get_node_info

2024-04-25 Thread syzbot
Hello, syzbot tried to test the proposed patch but the build/boot failed: ][T1] usbcore: registered new interface driver port100 [7.895087][T1] usbcore: registered new interface driver nfcmrvl [7.905107][T1] Loading iSCSI transport class v2.0-870. [7.922010][T1]

[f2fs-dev] [PATCH] f2fs: remove redundant parameter in is_next_segment_free()

2024-04-25 Thread Yifan Zhao
is_next_segment_free() takes a redundant `type` parameter. Remove it. Signed-off-by: Yifan Zhao --- fs/f2fs/segment.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 2206199e8099..8d63ddfe4a77 100644 --- a/fs/f2fs/segment.c

Re: [f2fs-dev] [PATCH] f2fs: fix false alarm on invalid block address

2024-04-25 Thread patchwork-bot+f2fs
Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Wed, 24 Apr 2024 17:35:48 + you wrote: > f2fs_ra_meta_pages can try to read ahead on invalid block address which is > not the corruption case. > > Cc: # v6.9+ > Bugzilla:

[f2fs-dev] Patchwork summary for: f2fs

2024-04-25 Thread patchwork-bot+f2fs
Hello: The following patches were marked "accepted", because they were applied to jaegeuk/f2fs.git (dev): Patch: [f2fs-dev] f2fs: fix false alarm on invalid block address Submitter: Jaegeuk Kim Committer: Jaegeuk Kim Patchwork:

Re: [f2fs-dev] [PATCH] f2fs: use helper to print zone condition

2024-04-25 Thread patchwork-bot+f2fs
Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Tue, 23 Apr 2024 05:27:59 -0600 you wrote: > To make code clean, use blk_zone_cond_str() to print debug information. > > Signed-off-by: Wu Bo > --- > fs/f2fs/segment.c | 17 +++-- > 1 file changed, 3