Re: [f2fs-dev] [PATCH v2] f2fs: avoid unused block when dio write in LFS mode

2024-09-04 Thread Chao Yu via Linux-f2fs-devel
On 2024/9/5 13:24, Daejun Park wrote: This patch addresses the problem that when using LFS mode, unused blocks may occur in f2fs_map_blocks() during block allocation for dio writes. If a new section is allocated during block allocation, it will not be included in the map struct by map_is_mergeab

Re: [f2fs-dev] [PATCH v2] f2fs-tools: add write hint support

2024-09-04 Thread Chao Yu via Linux-f2fs-devel
On 2024/9/4 9:12, Daejun Park wrote: This patch enables support for write hints by segment type. Signed-off-by: Daejun Park Reviewed-by: Chao Yu Thanks, ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourc

[f2fs-dev] [PATCH v2] f2fs: avoid unused block when dio write in LFS mode

2024-09-04 Thread Daejun Park
This patch addresses the problem that when using LFS mode, unused blocks may occur in f2fs_map_blocks() during block allocation for dio writes. If a new section is allocated during block allocation, it will not be included in the map struct by map_is_mergeable() if the LBA of the allocated block i

Re: [f2fs-dev] [syzbot] [f2fs?] possible deadlock in f2fs_release_file (2)

2024-09-04 Thread Chao Yu via Linux-f2fs-devel
#syz invalid Becuase commit "f2fs: atomic: fix to not allow GC to pollute atomic_file" has been dropped from linux-next git repo. On 2024/8/16 17:16, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:9e6869691724 Add linux-next specific files for 20240812 git tree:

Re: [f2fs-dev] [syzbot] [f2fs?] WARNING: lock held when returning to user space in f2fs_commit_atomic_write

2024-09-04 Thread Chao Yu via Linux-f2fs-devel
#syz invalid Becuase commit "f2fs: atomic: fix to not allow GC to pollute atomic_file" has been dropped from linux-next git repo. On 2024/8/14 4:49, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:9e6869691724 Add linux-next specific files for 20240812 git tree:

Re: [f2fs-dev] [syzbot] [f2fs?] WARNING: lock held when returning to user space in f2fs_ioc_start_atomic_write

2024-09-04 Thread Chao Yu via Linux-f2fs-devel
#syz fix: f2fs: atomic: fix to forbid dio in atomic_file On 2024/8/14 19:51, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:9e6869691724 Add linux-next specific files for 20240812 git tree: linux-next console+strace: https://syzkaller.appspot.com/x/log.txt?x=14

Re: [f2fs-dev] [syzbot] [f2fs?] WARNING: lock held when returning

2024-09-04 Thread Chao Yu via Linux-f2fs-devel
#syz invalid Becuase commit "f2fs: atomic: fix to not allow GC to pollute atomic_file" has been dropped. On 2024/8/17 8:27, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:9e6869691724 Add linux-next specific files for 20240812 git tree: linux-next console outp

Re: [f2fs-dev] [PATCH] mkfs.f2fs: use correct endian conversion for writing lpf inode

2024-09-04 Thread Chao Yu via Linux-f2fs-devel
On 2024/9/4 1:31, Daeho Jeong wrote: From: Daeho Jeong The conversion between cpu and little endian is incorrect. Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks, ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net

Re: [f2fs-dev] [PATCH] f2fs: prevent atomic file from being dirtied before commit

2024-09-04 Thread Chao Yu via Linux-f2fs-devel
On 2024/9/4 22:56, Daeho Jeong wrote: On Tue, Sep 3, 2024 at 8:35 PM Chao Yu wrote: On 2024/9/4 10:52, Daeho Jeong wrote: On Tue, Sep 3, 2024 at 7:26 PM Chao Yu wrote: On 2024/9/4 1:07, Daeho Jeong wrote: On Mon, Sep 2, 2024 at 3:08 AM Chao Yu wrote: On 2024/8/27 4:23, Daeho Jeong wrot

[f2fs-dev] [PATCH v2] f2fs: prevent atomic file from being dirtied before commit

2024-09-04 Thread Daeho Jeong
From: Daeho Jeong Keep atomic file clean while updating and make it dirtied during commit in order to avoid unnecessary and excessive inode updates in the previous fix. Fixes: 4bf78322346f ("f2fs: mark inode dirty for FI_ATOMIC_COMMITTED flag") Signed-off-by: Daeho Jeong --- v2: take the origin

[f2fs-dev] [PATCH] f2fs: prevent atomic file from being dirtied before commit

2024-09-04 Thread Daeho Jeong
From: Daeho Jeong Keep atomic file clean while updating and make it dirtied during commit in order to avoid unnecessary and excessive inode updates in the previous fix. Fixes: 4bf78322346f ("f2fs: mark inode dirty for FI_ATOMIC_COMMITTED flag") Signed-off-by: Daeho Jeong --- v2: take the origin

Re: [f2fs-dev] [PATCH v2] f2fs: Do not check the FI_DIRTY_INODE flag when umounting a ro fs.

2024-09-04 Thread Chao Yu via Linux-f2fs-devel
On 2024/9/4 5:20, Jaegeuk Kim wrote: On 09/03, Chao Yu wrote: On 2024/9/2 21:01, Julian Sun wrote: On Mon, 2024-09-02 at 16:13 +0800, Chao Yu wrote: On 2024/8/29 0:54, Julian Sun wrote: Hi, all. Recently syzbot reported a bug as following: kernel BUG at fs/f2fs/inode.c:896! CPU: 1 UID: 0 PI

Re: [f2fs-dev] [PATCH] f2fs: prevent atomic file from being dirtied before commit

2024-09-04 Thread Daeho Jeong
On Wed, Sep 4, 2024 at 7:56 AM Daeho Jeong wrote: > > On Tue, Sep 3, 2024 at 8:35 PM Chao Yu wrote: > > > > On 2024/9/4 10:52, Daeho Jeong wrote: > > > On Tue, Sep 3, 2024 at 7:26 PM Chao Yu wrote: > > >> > > >> On 2024/9/4 1:07, Daeho Jeong wrote: > > >>> On Mon, Sep 2, 2024 at 3:08 AM Chao Yu

Re: [f2fs-dev] [PATCH v4 0/5] Write-placement hints and FDP

2024-09-04 Thread Kanchan Joshi
On 9/3/2024 8:05 PM, Christian Brauner wrote: > On Tue, Sep 03, 2024 at 07:58:46PM GMT, Kanchan Joshi wrote: >> Hi Amir, >> >> >> On 8/26/2024 10:36 PM, Kanchan Joshi wrote: >>> Current write-hint infrastructure supports 6 temperature-based data life >>> hints. >>> The series extends the infrastruc

Re: [f2fs-dev] [PATCH] f2fs: prevent atomic file from being dirtied before commit

2024-09-04 Thread Daeho Jeong
On Tue, Sep 3, 2024 at 8:35 PM Chao Yu wrote: > > On 2024/9/4 10:52, Daeho Jeong wrote: > > On Tue, Sep 3, 2024 at 7:26 PM Chao Yu wrote: > >> > >> On 2024/9/4 1:07, Daeho Jeong wrote: > >>> On Mon, Sep 2, 2024 at 3:08 AM Chao Yu wrote: > > On 2024/8/27 4:23, Daeho Jeong wrote: > >

Re: [f2fs-dev] [PATCH v6.1] f2fs: fix to truncate preallocated blocks in f2fs_file_open()

2024-09-04 Thread Greg KH
On Mon, Sep 02, 2024 at 02:26:16AM -0700, Shivani Agarwal wrote: > From: Chao Yu > > [ Upstream commit 298b1e4182d657c3e388adcc29477904e9600ed5 ] Now qeued up, thanks. greg k-h ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net