| commit | b13285aeee5d3e6ea997afef42b19e2d31f70925 | [log] [tgz] |
|---|---|---|
| author | Fengnan Chang <fengnanchang@gmail.com> | Sun Jul 31 11:33:46 2022 +0800 |
| committer | Jaegeuk Kim <jaegeuk@google.com> | Fri Aug 05 04:33:02 2022 -0700 |
| tree | b062d5c0f4a82af762d142e4eef8a97e07e0bbcc | |
| parent | 060825475a25d36ce25bb7ffa4fbc80bab50b287 [diff] |
f2fs: use onstack pages instead of pvec 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 <fengnanchang@gmail.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>