Re: [f2fs-dev] [PATCH] f2fs: avoid splitting bio when reading multiple pages

2025-06-24 Thread Chao Yu via Linux-f2fs-devel
On 2025/6/17 21:13, Sheng Yong wrote: On 6/17/25 19:37, Chao Yu via Linux-f2fs-devel wrote: On 6/17/25 13:55, Jianan Huang wrote: When fewer pages are read, nr_pages may be smaller than nr_cpages. Due to the nr_vecs limit, the compressed pages will be split into multiple bios and then merged at

Re: [f2fs-dev] [PATCH] f2fs: avoid splitting bio when reading multiple pages

2025-06-17 Thread Sheng Yong
On 6/17/25 19:37, Chao Yu via Linux-f2fs-devel wrote: On 6/17/25 13:55, Jianan Huang wrote: When fewer pages are read, nr_pages may be smaller than nr_cpages. Due to the nr_vecs limit, the compressed pages will be split into multiple bios and then merged at the block level. In this case, nr_cpag

Re: [f2fs-dev] [PATCH] f2fs: avoid splitting bio when reading multiple pages

2025-06-17 Thread Chao Yu via Linux-f2fs-devel
On 6/17/25 13:55, Jianan Huang wrote: > When fewer pages are read, nr_pages may be smaller than nr_cpages. Due > to the nr_vecs limit, the compressed pages will be split into multiple > bios and then merged at the block level. In this case, nr_cpages should > be used to pre-allocate bvecs. > > Sig