]> 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:24:06 +0000 (14:24 -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 7046db836d9fb8bb51c803d3c0b4b8ae5630adeb..c1e2714c07858679b924bf49a548cbddd20bcff2 100644 (file)
@@ -2386,7 +2386,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)