Re: [f2fs-dev] [PATCH 1/1] f2fs-tools: increase overprovision finding speed

2025-07-30 Thread Chao Yu via Linux-f2fs-devel
On 5/16/25 19:10, Cherniaev Andrei wrote: > I think my optimization makes mkfs.f2fs faster in case of invalid volume > size. So with the commit user will get err faster. > Before start I suggest add debug printf() to `f2fs_fs.h` like this: > ``` > for (; candidate <= end; candidate += diff) { >

Re: [f2fs-dev] [PATCH 1/1] f2fs-tools: increase overprovision finding speed

2025-07-29 Thread Jaegeuk Kim via Linux-f2fs-devel
Applied with limiting 80 columns. On 05/16, Cherniaev Andrei wrote: > I think my optimization makes mkfs.f2fs faster in case of invalid volume > size. So with the commit user will get err faster. > Before start I suggest add debug printf() to `f2fs_fs.h` like this: > ``` > for (; candidate <= end

[f2fs-dev] [PATCH 1/1] f2fs-tools: increase overprovision finding speed

2025-05-16 Thread Cherniaev Andrei
I think my optimization makes mkfs.f2fs faster in case of invalid volume size. So with the commit user will get err faster. Before start I suggest add debug printf() to `f2fs_fs.h` like this: ``` for (; candidate <= end; candidate += diff) { reserved = get_reserved(sb, candidate);