On 6/30/25 20:57, 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. > To handle this case, align max_nr_pages to cluster_size, which should be > enough for all compressed pages. > > Signed-off-by: Jianan Huang <[email protected]> > Signed-off-by: Sheng Yong <[email protected]>
Reviewed-by: Chao Yu <[email protected]> Thanks, _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
