diff options
author | Fengnan Chang <changfengnan@vivo.com> | 2021-11-10 10:37:13 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2021-11-17 11:28:22 -0800 |
commit | 3271d7eb00f1df82d9ea26b359ed065129639f7c (patch) | |
tree | 0ff3456467454953c60b58bbc530aabd135cf8db /fs/fs_parser.c | |
parent | 8ab774587903771821b59471cc723bba6d893942 (diff) | |
download | linux-3271d7eb00f1df82d9ea26b359ed065129639f7c.tar.bz2 |
f2fs: compress: reduce one page array alloc and free when write compressed page
Don't alloc new page pointers array to replace old, just use old, introduce
valid_nr_cpages to indicate valid number of page pointers in array, try to
reduce one page array alloc and free when write compress page.
Signed-off-by: Fengnan Chang <changfengnan@vivo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/fs_parser.c')
0 files changed, 0 insertions, 0 deletions