Re: [f2fs-dev] [PATCH 17/27] f2fs: Add f2fs_get_node_folio()

2025-02-28 Thread Chao Yu via Linux-f2fs-devel
On 2025/2/18 13:51, Matthew Wilcox (Oracle) wrote: Change __get_node_page() to return a folio and convert back to a page in f2fs_get_node_page() and f2fs_get_node_page_ra(). Signed-off-by: Matthew Wilcox (Oracle) --- fs/f2fs/f2fs.h | 1 + fs/f2fs/node.c | 18 +- 2 files cha

Re: [f2fs-dev] [PATCH v5] f2fs: add check for deleted inode

2025-02-28 Thread patchwork-bot+f2fs--- via Linux-f2fs-devel
Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Thu, 27 Feb 2025 23:54:20 +0800 you wrote: > From: Leo Stone > > The syzbot reproducer mounts a f2fs image, then tries to unlink an > existing file. However, the unlinked file already has a link count of 0 > when it is

Re: [f2fs-dev] [PATCH 17/27] f2fs: Add f2fs_get_node_folio()

2025-02-28 Thread Matthew Wilcox
On Sat, Mar 01, 2025 at 09:15:53AM +0800, Chao Yu wrote: > > struct page *f2fs_get_node_page(struct f2fs_sb_info *sbi, pgoff_t nid) > > { > > - return __get_node_page(sbi, nid, NULL, 0); > > + struct folio *folio = __get_node_folio(sbi, nid, NULL, 0); > > + > > if (IS_ERR(folio)) >

[f2fs-dev] Patchwork summary for: f2fs

2025-02-28 Thread patchwork-bot+f2fs--- via Linux-f2fs-devel
Hello: The following patches were marked "accepted", because they were applied to jaegeuk/f2fs.git (dev): Patch: [f2fs-dev,v5] f2fs: add check for deleted inode Submitter: Chao Yu Committer: Jaegeuk Kim Patchwork: https://patchwork.kernel.org/project/f2fs/list/?series=938764 Lore link:

[f2fs-dev] [Bug 219784] RIP: 0010:__list_add_valid_or_report.cold+0x4f/0x60

2025-02-28 Thread bugzilla-daemon--- via Linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=219784 Chao Yu (c...@kernel.org) changed: What|Removed |Added CC||c...@kernel.org --- Comment #

[f2fs-dev] [PATCH v2] f2fs-tools: add ftruncate command in f2fs_io

2025-02-28 Thread Daeho Jeong
From: Daeho Jeong add ftruncate command to do file truncate. Signed-off-by: Daeho Jeong --- v2: update f2fs_io documentation --- man/f2fs_io.8 | 3 +++ tools/f2fs_io/f2fs_io.c | 26 ++ 2 files changed, 29 insertions(+) diff --git a/man/f2fs_io.8 b/man/f2fs_i

[f2fs-dev] Patchwork summary for: f2fs

2025-02-28 Thread patchwork-bot+f2fs--- via Linux-f2fs-devel
Hello: The following patches were marked "accepted", because they were applied to jaegeuk/f2fs.git (dev): Patch: [f2fs-dev] f2fs: fix the missing write pointer correction Submitter: Jaegeuk Kim Committer: Jaegeuk Kim Patchwork: https://patchwork.kernel.org/project/f2fs/list/?series=938697

Re: [f2fs-dev] [PATCH] f2fs: fix to set .discard_granularity correctly

2025-02-28 Thread patchwork-bot+f2fs--- via Linux-f2fs-devel
Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Mon, 24 Feb 2025 14:20:07 +0800 you wrote: > commit 4f993264fe29 ("f2fs: introduce discard_unit mount option") introduced > a bug, when we enable discard_unit=section option, it will set > .discard_granularity to BLKS_PER

[f2fs-dev] [PATCH 1/2] f2fs_io: support fadvise dontneed, random, and noreuse

2025-02-28 Thread Jaegeuk Kim via Linux-f2fs-devel
Signed-off-by: Jaegeuk Kim --- man/f2fs_io.8 | 3 ++- tools/f2fs_io/f2fs_io.c | 9 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/man/f2fs_io.8 b/man/f2fs_io.8 index 97a893b26114..5def508e494f 100644 --- a/man/f2fs_io.8 +++ b/man/f2fs_io.8 @@ -54,7 +54,8 @@ goi

[f2fs-dev] [PATCH 2/2] f2fs_io: add ioprio command to give a io priority hint

2025-02-28 Thread Jaegeuk Kim via Linux-f2fs-devel
This adds a command to call ioctl(F2FS_IOC_IO_PRIO). Signed-off-by: Jaegeuk Kim --- man/f2fs_io.8 | 3 +++ tools/f2fs_io/f2fs_io.c | 35 +++ tools/f2fs_io/f2fs_io.h | 7 +++ 3 files changed, 45 insertions(+) diff --git a/man/f2fs_io.8 b/man/f2fs_i