commit | b2f57a8e6bc987ba2c8defb507c98aff66c94fc5 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Sat Jul 25 09:17:48 2020 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Sun Jul 26 08:20:16 2020 -0700 |
tree | b2cfdf80105b312c2b554fd1d30a74d0f04f20be | |
parent | 944dd22ea4475bd11180fd2f431a4a547ca4d8f5 [diff] |
f2fs: compress: delay temp page allocation Currently, we allocate temp pages which is used to pad hole in cluster during read IO submission, it may take long time before releasing them in f2fs_decompress_pages(), since they are only used as temp output buffer in decompression context, so let's just do the allocation in that context to reduce time of memory pool resource occupation. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>