diff options
author | Fengnan Chang | 2022-07-31 11:33:46 +0800 |
---|---|---|
committer | Jaegeuk Kim | 2022-08-05 04:20:55 -0700 |
commit | 01fc4b9a6ed8eacb64e5609bab7ac963e1c7e486 (patch) | |
tree | fd9b29eea4542fca39e99bf244a1af141cee154f /fs/btrfs/zoned.c | |
parent | 4f8219f8aa175d5a46703631abaae745592efe29 (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>
Diffstat (limited to 'fs/btrfs/zoned.c')
0 files changed, 0 insertions, 0 deletions