Re: [f2fs-dev] [PATCH v4 2/3] f2fs: use onstack pages instead of pvec

2022-08-04 Thread Chao Yu
On 2022/7/31 11:33, Fengnan Chang wrote: Since pvec have 15 pages, it not a multiple of 4, when write compressed pages, write in 64K as a unit, it will call pagevec_lookup_range_tag agagin, sometimes this will take a lot of time. Use onstack pages instead of pvec to mitigate this problem. Signed

[f2fs-dev] [PATCH v4 2/3] f2fs: use onstack pages instead of pvec

2022-07-30 Thread Fengnan Chang
Since pvec have 15 pages, it not a multiple of 4, when write compressed pages, write in 64K as a unit, it will call pagevec_lookup_range_tag agagin, sometimes this will take a lot of time. Use onstack pages instead of pvec to mitigate this problem. Signed-off-by: Fengnan Chang --- fs/f2fs/compre