From: Sage Weil Date: Thu, 11 Jan 2018 15:30:35 +0000 (-0600) Subject: common/options: replace FLAG_SAFE with FLAG_{RUNTIME,STARTUP,CLUSTER_CREATE,DAEMON_CR... X-Git-Tag: v13.0.2~78^2~60 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7d15a5a9e26f42f73cdb6dc8c4c112a628614983;p=ceph.git common/options: replace FLAG_SAFE with FLAG_{RUNTIME,STARTUP,CLUSTER_CREATE,DAEMON_CREATE} Signed-off-by: Sage Weil --- diff --git a/src/common/config.cc b/src/common/config.cc index bd46466cf9128..35d43c306d7ba 100644 --- a/src/common/config.cc +++ b/src/common/config.cc @@ -136,7 +136,7 @@ md_config_t::md_config_t(bool is_daemon) stringify(subsys.get_gather_level(i))); string desc = string("Debug level for ") + subsys.get_name(i); opt.set_description(desc.c_str()); - opt.set_safe(); + opt.set_flag(Option::FLAG_RUNTIME); opt.set_long_description("The value takes the form 'N' or 'N/M' where N and M are values between 0 and 99. N is the debug level to log (all values below this are included), and M is the level to gather and buffer in memory. In the event of a crash, the most recent items <= M are dumped to the log file."); opt.set_subsys(i); opt.set_validator([](std::string *value, std::string *error_message) { diff --git a/src/common/options.cc b/src/common/options.cc index 2e53596481473..f4cace82d4f72 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -763,7 +763,7 @@ std::vector