From 3ebd59b872e3a77430b93bb51f9232868975b3bb Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 13 Mar 2019 13:53:52 -0500 Subject: [PATCH] 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 --- src/common/common_init.cc | 4 ---- src/common/subsys.h | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/common/common_init.cc b/src/common/common_init.cc index a7cc4d724529e..9dd6be89b90c9 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 bdd2d0e506d6c..24f4928540501 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) -- 2.39.5