]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/options: make osd_skip_data_digest a DEV option
authorSage Weil <sage@redhat.com>
Sat, 14 Jul 2018 18:26:31 +0000 (13:26 -0500)
committerSage Weil <sage@redhat.com>
Sat, 14 Jul 2018 18:26:31 +0000 (13:26 -0500)
And document/warn to never turn it off after it's been on.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/options.cc

index 7e426c29c3fb368bfefe4e7d27d731e05137f8ec..f7d85ce6be2b4effacffccd681c9401887361475 100644 (file)
@@ -1985,9 +1985,9 @@ std::vector<Option> get_global_options() {
     .set_default(8)
     .set_description(""),
 
-    Option("osd_skip_data_digest", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
+    Option("osd_skip_data_digest", Option::TYPE_BOOL, Option::LEVEL_DEV)
     .set_default(true)
-    .set_description(""),
+    .set_description("Do not store full-object checksums if the backend (bluestore) does its own checksums.  Do not ever turn this off if it has ever been turned on."),
 
     Option("osd_distrust_data_digest", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
     .set_default(false)