From: Sage Weil Date: Wed, 13 Mar 2019 18:53:52 +0000 (-0500) Subject: msg: default to debug_ms=0 X-Git-Tag: v14.2.1~103^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d8d22fe4d0adc71ed459665c0c597321d8f71a52;p=ceph.git msg: default to debug_ms=0 These have a measurable impact on performance and have a limited (although not non-existent!) track record of providing debugging value. Signed-off-by: Sage Weil (cherry picked from commit 3ebd59b872e3a77430b93bb51f9232868975b3bb) --- diff --git a/src/common/common_init.cc b/src/common/common_init.cc index a7cc4d724529..9dd6be89b90c 100644 --- a/src/common/common_init.cc +++ b/src/common/common_init.cc @@ -66,10 +66,6 @@ CephContext *common_preinit(const CephInitParameters &iparams, conf.set_val_default("err_to_stderr", "false"); conf.set_val_default("log_flush_on_exit", "false"); } - if (code_env != CODE_ENVIRONMENT_DAEMON) { - // NOTE: disable ms subsystem gathering in clients by default - conf.set_val_default("debug_ms", "0/0"); - } return cct; } diff --git a/src/common/subsys.h b/src/common/subsys.h index bdd2d0e506d6..24f492854050 100644 --- a/src/common/subsys.h +++ b/src/common/subsys.h @@ -45,7 +45,7 @@ SUBSYS(optracker, 0, 5) SUBSYS(objclass, 0, 5) SUBSYS(filestore, 1, 3) SUBSYS(journal, 1, 3) -SUBSYS(ms, 0, 5) +SUBSYS(ms, 0, 0) SUBSYS(mon, 1, 5) SUBSYS(monc, 0, 10) SUBSYS(paxos, 1, 5)