Re: [f2fs-dev] [PATCH 2/2] f2fs: fix to adjust appropriate length for fiemap

2024-11-01 Thread Zhiguo Niu
Chao Yu 于2024年11月1日周五 10:36写道: > > On 2024/10/31 13:59, Zhiguo Niu wrote: > > If user give a file size as "length" parameter for fiemap > > operations, but this size is non-block size aligned, > > it will show 2 segments fiemap results even this whole file > > is contiguous on disk, such as the fo

Re: [f2fs-dev] [PATCH 2/2] f2fs: fix to adjust appropriate length for fiemap

2024-10-31 Thread Zhiguo Niu
Zhiguo Niu 于2024年11月1日周五 11:27写道: > > Chao Yu 于2024年11月1日周五 10:36写道: > > > > On 2024/10/31 13:59, Zhiguo Niu wrote: > > > If user give a file size as "length" parameter for fiemap > > > operations, but this size is non-block size aligned, > > > it will show 2 segments fiemap results even this who

Re: [f2fs-dev] [PATCH 2/2] f2fs: fix to adjust appropriate length for fiemap

2024-10-31 Thread Zhiguo Niu
Chao Yu 于2024年11月1日周五 10:36写道: > > On 2024/10/31 13:59, Zhiguo Niu wrote: > > If user give a file size as "length" parameter for fiemap > > operations, but this size is non-block size aligned, > > it will show 2 segments fiemap results even this whole file > > is contiguous on disk, such as the fo

Re: [f2fs-dev] [PATCH 2/2] f2fs: fix to adjust appropriate length for fiemap

2024-10-31 Thread Chao Yu via Linux-f2fs-devel
On 2024/10/31 13:59, Zhiguo Niu wrote: If user give a file size as "length" parameter for fiemap operations, but this size is non-block size aligned, it will show 2 segments fiemap results even this whole file is contiguous on disk, such as the following results, please note that this f2fs_io has