diff options
author | Chao Yu <yuchao0@huawei.com> | 2020-03-03 17:46:02 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-04-03 10:21:10 -0700 |
commit | 50cfa66f0de02eff30fb81bdc878bb986cf3aff3 (patch) | |
tree | f0734034069425ffb2d453931e3859c0001cedfd /include/trace | |
parent | 23b1faaade19a2aa2d4c3e387b875d105675343e (diff) | |
download | linux-50cfa66f0de02eff30fb81bdc878bb986cf3aff3.tar.gz linux-50cfa66f0de02eff30fb81bdc878bb986cf3aff3.tar.bz2 linux-50cfa66f0de02eff30fb81bdc878bb986cf3aff3.zip |
f2fs: compress: support zstd compress algorithm
Add zstd compress algorithm support, use "compress_algorithm=zstd"
mountoption to enable it.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/f2fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/trace/events/f2fs.h b/include/trace/events/f2fs.h index 67a97838c2a0..d97adfc327f0 100644 --- a/include/trace/events/f2fs.h +++ b/include/trace/events/f2fs.h @@ -153,7 +153,8 @@ TRACE_DEFINE_ENUM(CP_PAUSE); #define show_compress_algorithm(type) \ __print_symbolic(type, \ { COMPRESS_LZO, "LZO" }, \ - { COMPRESS_LZ4, "LZ4" }) + { COMPRESS_LZ4, "LZ4" }, \ + { COMPRESS_ZSTD, "ZSTD" }) struct f2fs_sb_info; struct f2fs_io_info; |