[f2fs-dev] [PATCH] f2fs_io: fix doc of test_lookup_perf

2025-07-14 Thread Chao Yu via Linux-f2fs-devel
Change as below: - add an entry for test_lookup_perf in manual - fix wrong parameter in usage of test_lookup_perf Signed-off-by: Chao Yu --- man/f2fs_io.8 | 3 +++ tools/f2fs_io/f2fs_io.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/man/f2fs_io.8 b/man/f2fs_io.

Re: [f2fs-dev] [PATCH v3] f2fs_io: add test_create_perf command

2025-07-14 Thread Chao Yu via Linux-f2fs-devel
On 7/14/25 22:23, Jaegeuk Kim wrote: > On 07/14, Chao Yu wrote: >> Daniel, >> >> It missed to add doc entry, just found the issue. > > Can you post another patch to update the doc? Sure. :) Thanks, > >> >> Thanks, >> >> On 6/17/25 22:04, Daniel Lee wrote: >>> A new command 'test_create_perf',

Re: [f2fs-dev] [PATCH] man: add doc for test_create_perf/test_lookup_perf

2025-07-14 Thread Chao Yu via Linux-f2fs-devel
On 7/15/25 01:51, Daniel Lee wrote: > Signed-off-by: Daniel Lee Oh, just notice you help to update test_lookup_perf entry as well. Reviewed-by: Chao Yu Thanks, > --- > man/f2fs_io.8 | 22 ++ > 1 file changed, 22 insertions(+) > > diff --git a/man/f2fs_io.8 b/man/f2fs_io.

[f2fs-dev] [PATCH v2] f2fs_io: fix doc of test_lookup_perf

2025-07-14 Thread Chao Yu via Linux-f2fs-devel
This patch fixes wrong parameter in usage of test_lookup_perf. Signed-off-by: Chao Yu --- v2: - drop change for f2fs_io manual tools/f2fs_io/f2fs_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/f2fs_io/f2fs_io.c b/tools/f2fs_io/f2fs_io.c index 8e81ba9..f282190 1006

Re: [f2fs-dev] [PATCH] mkfs.f2fs: adjust zone alignment check to correct position

2025-07-14 Thread Chao Yu via Linux-f2fs-devel
On 7/14/25 17:51, Zhiguo Niu wrote: > Should check these after c.devices[1].start_blkaddr is assigned > when c.ndevs > 1. > > Fixes: 316e128fe3dc ("mkfs.f2fs: adjust zone alignment when using > multi-partitions") > Signed-off-by: Zhiguo Niu Reviewed-by: Chao Yu Thanks, _

Re: [f2fs-dev] [PATCH] f2fs: f2fs supports uncached buffered I/O

2025-07-14 Thread Chao Yu via Linux-f2fs-devel
On 7/15/25 11:10, Qi Han wrote: > Jens has already completed the development of uncached buffered I/O > in git [1], and in f2fs, the feature can be enabled simply by setting > the FOP_DONTCACHE flag in f2fs_file_operations. Hi Qi, do you have any numbers of f2fs before/after this change? though I'

Re: [f2fs-dev] [PATCH v3] f2fs_io: measure readdir/stat performance

2025-07-14 Thread Jaegeuk Kim via Linux-f2fs-devel
On 07/14, Chao Yu wrote: > - mkdir dir > - f2fs_io test_lookup_perf -i /mnt/f2fs/dir 5 > - sync > - echo 3 > /proc/sys/vm/drop_caches > - f2fs_io test_lookup_perf /mnt/f2fs/dir > > Output: > Measure readdir performance > Measure stat performance > Operation: total_files, total_time_s, throughp

Re: [f2fs-dev] [PATCH v3] f2fs_io: add test_create_perf command

2025-07-14 Thread Jaegeuk Kim via Linux-f2fs-devel
On 07/14, Chao Yu wrote: > Daniel, > > It missed to add doc entry, just found the issue. Can you post another patch to update the doc? > > Thanks, > > On 6/17/25 22:04, Daniel Lee wrote: > > A new command 'test_create_perf', has been introduced to measure > > the performance of creating and de

[f2fs-dev] [PATCH] mkfs.f2fs: adjust zone alignment check to correct position

2025-07-14 Thread Zhiguo Niu via Linux-f2fs-devel
Should check these after c.devices[1].start_blkaddr is assigned when c.ndevs > 1. Fixes: 316e128fe3dc ("mkfs.f2fs: adjust zone alignment when using multi-partitions") Signed-off-by: Zhiguo Niu --- mkfs/f2fs_format.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-)

Re: [f2fs-dev] [WIP] f2fs: Sharing progress and questions on large folios support

2025-07-14 Thread Nanzhe Zhao
Besides,I noticed now your convert fio->page to folio.I personally thought it's a bold (maybe too bold) decision. fio structure has a strong hypothesis that it performs write I/O in single page unit.It only stores one old_blkaddr and one new_blkaddr associated with the fio->page without awareness

[f2fs-dev] [PATCH v3] f2fs_io: measure readdir/stat performance

2025-07-14 Thread Chao Yu via Linux-f2fs-devel
- mkdir dir - f2fs_io test_lookup_perf -i /mnt/f2fs/dir 5 - sync - echo 3 > /proc/sys/vm/drop_caches - f2fs_io test_lookup_perf /mnt/f2fs/dir Output: Measure readdir performance Measure stat performance Operation: total_files, total_time_s, throughput_files_per_sec readdir: 5, 1.7781, 2812

Re: [f2fs-dev] [PATCH v3] f2fs_io: add test_create_perf command

2025-07-14 Thread Chao Yu via Linux-f2fs-devel
Daniel, It missed to add doc entry, just found the issue. Thanks, On 6/17/25 22:04, Daniel Lee wrote: > A new command 'test_create_perf', has been introduced to measure > the performance of creating and deleting many files. > > Signed-off-by: Daniel Lee > --- > v3: make sync optional for delet

[f2fs-dev] [PATCH] man: add doc for test_create_perf/test_lookup_perf

2025-07-14 Thread Daniel Lee via Linux-f2fs-devel
Signed-off-by: Daniel Lee --- man/f2fs_io.8 | 22 ++ 1 file changed, 22 insertions(+) diff --git a/man/f2fs_io.8 b/man/f2fs_io.8 index e0f659e..6f3e11e 100644 --- a/man/f2fs_io.8 +++ b/man/f2fs_io.8 @@ -184,6 +184,28 @@ Get i_advise value and info in file .TP \fBioprio\fR \