From: David Zafman Date: Tue, 24 Jul 2018 20:30:09 +0000 (-0700) Subject: osd: Even when we are distrust data_digest, go ahead and set it when we can X-Git-Tag: v12.2.8~71^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3b72d1a116ff7e45f35465db1397f648fb148876;p=ceph.git osd: Even when we are distrust data_digest, go ahead and set it when we can Signed-off-by: David Zafman --- diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index aaf9136a45e6..dbb7950fc18f 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -5063,8 +5063,7 @@ int PrimaryLogPG::do_osd_ops(OpContext *ctx, vector& 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();