]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/options: disable osd_skip_data_digest
authorSage Weil <sage@redhat.com>
Sat, 14 Jul 2018 20:03:43 +0000 (15:03 -0500)
committerDavid Zafman <dzafman@redhat.com>
Mon, 16 Jul 2018 21:26:20 +0000 (14:26 -0700)
This is flawed in that it stops doing digests based on the primary's
backend store, not the replicas.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit c7d8add701f156eb8bd8c7dc8ae9903bd782e77f)

src/common/options.cc

index 7a8b591e3c5e9af15b327a13a076ecd75f53c37c..d84e9204ec48c89558223b45389dce868ff4fed3 100644 (file)
@@ -2317,7 +2317,7 @@ std::vector<Option> get_global_options() {
     .set_description(""),
 
     Option("osd_skip_data_digest", Option::TYPE_BOOL, Option::LEVEL_DEV)
-    .set_default(true)
+    .set_default(false)
     .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_op_queue", Option::TYPE_STR, Option::LEVEL_ADVANCED)