]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
compressor: Add a config option to specify Zstd compression level
authorBryan Stillwell <bstillwell@godaddy.com>
Fri, 6 Mar 2020 17:58:50 +0000 (10:58 -0700)
committerBryan Stillwell <bstillwell@godaddy.com>
Fri, 18 Sep 2020 21:23:21 +0000 (15:23 -0600)
commitaf0c7ecc8c5188be202d10002e761f6e332acfae
treeb5f59e6a93a1d4cc050189deca808572e9b511b6
parent011e0c4bef9d8631e5cbfa1c15ef38b496f06f07
compressor: Add a config option to specify Zstd compression level

Add a new configuration item called 'compressor_zstd_level' so that the
Zstandard compression level can be tuned to the workload on a cluster.

Fixes: https://tracker.ceph.com/issues/43377
Signed-off-by: Bryan Stillwell <bstillwell@godaddy.com>
(cherry picked from commit 82699067b89eab01744f1b7f10490ec0975bb1a6)
src/common/legacy_config_opts.h
src/common/options.cc
src/compressor/zstd/CompressionPluginZstd.h
src/compressor/zstd/ZstdCompressor.h