commit | 3271d7eb00f1df82d9ea26b359ed065129639f7c | [log] [tgz] |
---|---|---|
author | Fengnan Chang <changfengnan@vivo.com> | Wed Nov 10 10:37:13 2021 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Nov 17 11:28:22 2021 -0800 |
tree | 0ff3456467454953c60b58bbc530aabd135cf8db | |
parent | 8ab774587903771821b59471cc723bba6d893942 [diff] |
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>