f2fs: compress: introduce cic/dic slab cache
authorChao Yu <yuchao0@huawei.com>
Mon, 14 Sep 2020 09:05:14 +0000 (17:05 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 29 Sep 2020 16:16:36 +0000 (09:16 -0700)
commitc68d6c8830225089c185bc5945b49afcb2e01cbf
tree92a540a30094b2afa0671f319c29f00576dd833a
parent31083031709eea6530f0551d59eecdb2e68265ef
f2fs: compress: introduce cic/dic slab cache

Add two slab caches: "f2fs_cic_entry" and "f2fs_dic_entry" for memory
allocation of compress_io_ctx and decompress_io_ctx structure.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/compress.c
fs/f2fs/f2fs.h
fs/f2fs/super.c