f2fs: compress: add compress_inode to cache compressed blocks
authorChao Yu <yuchao0@huawei.com>
Thu, 20 May 2021 11:51:50 +0000 (19:51 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Jun 2021 08:09:35 +0000 (01:09 -0700)
commit6ce19aff0b8cd386860855185c6cd79337fc4d2b
tree437802d6394317335ddcf02d21ff95425d97a200
parent4c89b53d05f1f5d25e9aec09c00351994101cc97
f2fs: compress: add compress_inode to cache compressed blocks

Support to use address space of inner inode to cache compressed block,
in order to improve cache hit ratio of random read.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
12 files changed:
Documentation/filesystems/f2fs.rst
fs/f2fs/compress.c
fs/f2fs/data.c
fs/f2fs/debug.c
fs/f2fs/f2fs.h
fs/f2fs/gc.c
fs/f2fs/inode.c
fs/f2fs/node.c
fs/f2fs/node.h
fs/f2fs/segment.c
fs/f2fs/super.c
include/linux/f2fs_fs.h