]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: Even when we are distrust data_digest, go ahead and set it when we can
authorDavid Zafman <dzafman@redhat.com>
Tue, 24 Jul 2018 20:30:09 +0000 (13:30 -0700)
committerDavid Zafman <dzafman@redhat.com>
Thu, 26 Jul 2018 18:39:42 +0000 (11:39 -0700)
Signed-off-by: David Zafman <dzafman@redhat.com>
src/osd/PrimaryLogPG.cc

index aaf9136a45e672b91acdbfcc2dc6f7c3ed3e3f28..dbb7950fc18fe59bf87d897fd4fefcfb751a1715 100644 (file)
@@ -5063,8 +5063,7 @@ int PrimaryLogPG::do_osd_ops(OpContext *ctx, vector<OSDOp>& ops)
   object_info_t& oi = obs.oi;
   const hobject_t& soid = oi.soid;
   bool skip_data_digest =
-    (osd->store->has_builtin_csum() && g_conf->osd_skip_data_digest) ||
-    g_conf->osd_distrust_data_digest;
+    osd->store->has_builtin_csum() && g_conf->osd_skip_data_digest;
 
   PGTransaction* t = ctx->op_t.get();