Re: [f2fs-dev] [PATCH] f2fs: make gc_urgent and gc_segment_mode sysfs node readable

2022-03-18 Thread Daeho Jeong via Linux-f2fs-devel
Plz, sorry, ignore this one. On Fri, Mar 18, 2022 at 12:10 PM Daeho Jeong wrote: > > From: Daeho Jeong > > Changed a way of showing values of them to use strings. > > Signed-off-by: Daeho Jeong > --- > fs/f2fs/sysfs.c | 17 - > 1 file changed, 16 insertions(+), 1 deletion(-) >

[f2fs-dev] [PATCH] f2fs: make gc_urgent and gc_segment_mode sysfs node readable

2022-03-18 Thread Daeho Jeong
From: Daeho Jeong Changed a way of showing values of them to use strings. Signed-off-by: Daeho Jeong --- fs/f2fs/sysfs.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/sysfs.c b/fs/f2fs/sysfs.c index fe29bcb70f46..fb950a13375f 100644 --- a/fs/f2fs

[f2fs-dev] [PATCH] f2fs: make gc_urgent and gc_segment_mode sysfs node readable

2022-03-18 Thread Daeho Jeong
From: Daeho Jeong Changed a way of showing values of them to use strings. Signed-off-by: Daeho Jeong --- fs/f2fs/sysfs.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/sysfs.c b/fs/f2fs/sysfs.c index fe29bcb70f46..f2613cc83888 100644 --- a/fs/f2fs

Re: [f2fs-dev] [PATCH v5] f2fs: fix compressed file start atomic write may cause data corruption

2022-03-18 Thread Chao Yu
On 2022/3/18 9:23, Fengnan Chang wrote: When compressed file has blocks, f2fs_ioc_start_atomic_write will succeed, but compressed flag will be remained in inode. If write partial compreseed cluster and commit atomic write will cause data corruption. This is the reproduction process: Step 1: crea

[f2fs-dev] [PATCH v2] f2fs: use aggressive GC policy during f2fs_disable_checkpoint()

2022-03-18 Thread Chao Yu
Let's enable GC_URGENT_HIGH mode during f2fs_disable_checkpoint(), so that we can use SSR allocator for GCed data/node persistence, it can improve the performance due to it avoiding migration of data/node locates in selected target segment of SSR allocator. Signed-off-by: Chao Yu --- v2: - enable