]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: update description for 21244/head
authorIgor Fedotov <ifedotov@suse.com>
Wed, 4 Apr 2018 14:01:51 +0000 (17:01 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Wed, 4 Apr 2018 14:01:51 +0000 (17:01 +0300)
bluestore_compression_[min|max|_blob_size options

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
src/common/options.cc

index 43c261301856c987994a23e2ba2b0fcb5b15caea..79b156f75ab110f1c17beaafeadf4667beee6528 100644 (file)
@@ -3898,7 +3898,8 @@ std::vector<Option> get_global_options() {
     Option("bluestore_compression_min_blob_size", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
     .set_default(0)
     .set_flag(Option::FLAG_RUNTIME)
-    .set_description("Chunks smaller than this are never compressed"),
+    .set_description("Maximum chunk size to apply compression to when random access is expected for an object.")
+    .set_long_description("Chunks larger than this are broken into smaller chunks before being compressed"),
 
     Option("bluestore_compression_min_blob_size_hdd", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
     .set_default(128_K)
@@ -3913,7 +3914,8 @@ std::vector<Option> get_global_options() {
     Option("bluestore_compression_max_blob_size", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
     .set_default(0)
     .set_flag(Option::FLAG_RUNTIME)
-    .set_description("Chunks larger than this are broken into smaller chunks before being compressed"),
+    .set_description("Maximum chunk size to apply compression to when non-random access is expected for an object.")
+    .set_long_description("Chunks larger than this are broken into smaller chunks before being compressed"),
 
     Option("bluestore_compression_max_blob_size_hdd", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
     .set_default(512_K)