]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: compress: support lzo-rle compress algorithm
authorChao Yu <yuchao0@huawei.com>
Wed, 8 Apr 2020 11:56:32 +0000 (19:56 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 12 May 2020 03:36:46 +0000 (20:36 -0700)
commitc24929ab58e8d9dba9073f8dbee85d3c9e9e3cc0
treedb469dfc8a3f81374c5e212035ea34fc58d83ac7
parent8e3524e7007c1f485235a7bc34018d7e42f1b582
f2fs: compress: support lzo-rle compress algorithm

LZO-RLE extension (run length encoding) was introduced to improve
performance of LZO algorithm in scenario of data contains many zeros,
zram has changed to use this extended algorithm by default, this
patch adds to support this algorithm extension, to enable this
extension, it needs to enable F2FS_FS_LZO and F2FS_FS_LZORLE config,
and specifies "compress_algorithm=lzo-rle" mountoption.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/filesystems/f2fs.rst
fs/f2fs/Kconfig
fs/f2fs/compress.c
fs/f2fs/f2fs.h
fs/f2fs/super.c
include/trace/events/f2fs.h