Re: [f2fs-dev] [PATCH v3] f2fs: prevent writing without fallocate() for pinned files

2024-03-26 Thread Daeho Jeong
On Mon, Mar 25, 2024 at 8:39 PM Chao Yu wrote: > > On 2024/3/25 23:02, Daeho Jeong wrote: > > On Fri, Mar 22, 2024 at 9:26 PM Chao Yu wrote: > >> > >> On 2024/3/21 1:42, Daeho Jeong wrote: > >>> On Wed, Mar 20, 2024 at 2:38 AM Chao Yu wrote: > > On 2024/3/20 5:23, Daeho Jeong wrote: >

Re: [f2fs-dev] [PATCH v3] f2fs: prevent writing without fallocate() for pinned files

2024-03-25 Thread Chao Yu
On 2024/3/25 23:02, Daeho Jeong wrote: On Fri, Mar 22, 2024 at 9:26 PM Chao Yu wrote: On 2024/3/21 1:42, Daeho Jeong wrote: On Wed, Mar 20, 2024 at 2:38 AM Chao Yu wrote: On 2024/3/20 5:23, Daeho Jeong wrote: From: Daeho Jeong In a case writing without fallocate(), we can't guarantee

Re: [f2fs-dev] [PATCH v3] f2fs: prevent writing without fallocate() for pinned files

2024-03-25 Thread Daeho Jeong
On Fri, Mar 22, 2024 at 9:26 PM Chao Yu wrote: > > On 2024/3/21 1:42, Daeho Jeong wrote: > > On Wed, Mar 20, 2024 at 2:38 AM Chao Yu wrote: > >> > >> On 2024/3/20 5:23, Daeho Jeong wrote: > >>> From: Daeho Jeong > >>> > >>> In a case writing without fallocate(), we can't guarantee it's

Re: [f2fs-dev] [PATCH v3] f2fs: prevent writing without fallocate() for pinned files

2024-03-22 Thread Chao Yu
On 2024/3/21 1:42, Daeho Jeong wrote: On Wed, Mar 20, 2024 at 2:38 AM Chao Yu wrote: On 2024/3/20 5:23, Daeho Jeong wrote: From: Daeho Jeong In a case writing without fallocate(), we can't guarantee it's allocated in the conventional area for zoned stroage. Signed-off-by: Daeho Jeong ---

Re: [f2fs-dev] [PATCH v3] f2fs: prevent writing without fallocate() for pinned files

2024-03-20 Thread Daeho Jeong
On Wed, Mar 20, 2024 at 2:38 AM Chao Yu wrote: > > On 2024/3/20 5:23, Daeho Jeong wrote: > > From: Daeho Jeong > > > > In a case writing without fallocate(), we can't guarantee it's allocated > > in the conventional area for zoned stroage. > > > > Signed-off-by: Daeho Jeong > > --- > > v2:

Re: [f2fs-dev] [PATCH v3] f2fs: prevent writing without fallocate() for pinned files

2024-03-20 Thread Chao Yu
On 2024/3/20 5:23, Daeho Jeong wrote: From: Daeho Jeong In a case writing without fallocate(), we can't guarantee it's allocated in the conventional area for zoned stroage. Signed-off-by: Daeho Jeong --- v2: covered the direct io case v3: covered the mkwrite case --- fs/f2fs/data.c | 14

[f2fs-dev] [PATCH v3] f2fs: prevent writing without fallocate() for pinned files

2024-03-19 Thread Daeho Jeong
From: Daeho Jeong In a case writing without fallocate(), we can't guarantee it's allocated in the conventional area for zoned stroage. Signed-off-by: Daeho Jeong --- v2: covered the direct io case v3: covered the mkwrite case --- fs/f2fs/data.c | 14 -- fs/f2fs/file.c | 16

[f2fs-dev] [PATCH v3] f2fs: prevent writing without fallocate() for pinned files

2024-03-19 Thread Daeho Jeong
From: Daeho Jeong In a case writing without fallocate(), we can't guarantee it's allocated in the conventional area for zoned stroage. Signed-off-by: Daeho Jeong --- v2: covered the direct io case v3: covered the mkwrite case --- fs/f2fs/data.c | 14 -- fs/f2fs/file.c | 16