diff options
author | 2023-08-28 22:04:17 +0800 | |
---|---|---|
committer | 2023-09-12 13:49:33 -0700 | |
commit | 7e1b150fece033703a824df1bbc03df091ea53cc (patch) | |
tree | acb0632ee7e58eccefb8e0a4ea4ee2c08b931602 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: compress: do sanity check on cluster when CONFIG_F2FS_CHECK_FS is on (diff) | |
download | wireguard-linux-7e1b150fece033703a824df1bbc03df091ea53cc.tar.xz wireguard-linux-7e1b150fece033703a824df1bbc03df091ea53cc.zip |
f2fs: compress: fix to avoid redundant compress extension
With below script, redundant compress extension will be parsed and added
by parse_options(), because parse_options() doesn't check whether the
extension is existed or not, fix it.
1. mount -t f2fs -o compress_extension=so /dev/vdb /mnt/f2fs
2. mount -t f2fs -o remount,compress_extension=so /mnt/f2fs
3. mount|grep f2fs
/dev/vdb on /mnt/f2fs type f2fs (...,compress_extension=so,compress_extension=so,...)
Fixes: 4c8ff7095bef ("f2fs: support data compression")
Fixes: 151b1982be5d ("f2fs: compress: add nocompress extensions support")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions