]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
common: s/config_opts/legacy_config_opts/
authorJohn Spray <john.spray@redhat.com>
Wed, 5 Jul 2017 11:18:30 +0000 (07:18 -0400)
committerJohn Spray <john.spray@redhat.com>
Fri, 21 Jul 2017 10:27:24 +0000 (06:27 -0400)
Name change reflects that newly added config opts
don't need to go here.

Signed-off-by: John Spray <john.spray@redhat.com>
src/ceph_mon.cc
src/common/config.cc
src/common/config.h
src/convert.cc
src/include/rados/librados.h
src/pybind/CMakeLists.txt

index 400c8989545cf1994c9182a8f16cf90427f77d3d..3663bb04e4b3c3e71dc20bace01969fcb92eb7ee 100644 (file)
@@ -203,10 +203,10 @@ int main(int argc, const char **argv)
   // We need to specify some default values that may be overridden by the
   // user, that are specific to the monitor.  The options we are overriding
   // are also used on the OSD (or in any other component that uses leveldb),
-  // so changing them directly in common/config_opts.h is not an option.
+  // so changing the global defaults is not an option.
   // This is not the prettiest way of doing this, especially since it has us
-  // having a different place than common/config_opts.h defining default
-  // values, but it's not horribly wrong enough to prevent us from doing it :)
+  // having a different place defining default values, but it's not horribly
+  // wrong enough to prevent us from doing it :)
   //
   // NOTE: user-defined options will take precedence over ours.
   //
index 5cbbd85e97be0a0ed7b53bdb8bccdb6009498833..3df1d71fafe5046279adb70035ad4d0ca4fbebe2 100644 (file)
@@ -81,7 +81,7 @@ struct md_config_t::option_##name##_t {     \
 #define SAFE_OPTION(name, type, def_val)
 #define SUBSYS(name, log, gather)
 #define DEFAULT_SUBSYS(log, gather)
-#include "common/config_opts.h"
+#include "common/legacy_config_opts.h"
 #undef OPTION
 #undef OPTION_VALIDATOR
 #undef SAFE_OPTION
@@ -127,7 +127,7 @@ md_config_t::md_config_t()
 #define SAFE_OPTION(name, type, def_val) OPTION(name, type, def_val)
 #define SUBSYS(name, log, gather)
 #define DEFAULT_SUBSYS(log, gather)
-#include "common/config_opts.h"
+#include "common/legacy_config_opts.h"
 #undef OPTION_OPT_INT
 #undef OPTION_OPT_LONGLONG
 #undef OPTION_OPT_STR
@@ -154,7 +154,7 @@ md_config_t::md_config_t()
 #define SAFE_OPTION(name, type, def_val) OPTION4(name, type, def_val, true)
 #define SUBSYS(name, log, gather)
 #define DEFAULT_SUBSYS(log, gather)
-#include "common/config_opts.h"
+#include "common/legacy_config_opts.h"
 #undef OPTION4
 #undef OPTION
 #undef OPTION_VALIDATOR
@@ -179,7 +179,7 @@ void md_config_t::init_subsys()
 #define OPTION(a, b, c)
 #define OPTION_VALIDATOR(a)
 #define SAFE_OPTION(a, b, c)
-#include "common/config_opts.h"
+#include "common/legacy_config_opts.h"
 #undef OPTION
 #undef OPTION_VALIDATOR
 #undef SAFE_OPTION
index 0d32fb3b90c5beb578eccff625e58e60c68e413e..0f8f8b1a0f31271917d9370ff1822bc06524a1cb 100644 (file)
@@ -323,7 +323,7 @@ public:
     struct option_##name##_t;
 #define SUBSYS(name, log, gather)
 #define DEFAULT_SUBSYS(log, gather)
-#include "common/config_opts.h"
+#include "common/legacy_config_opts.h"
 #undef OPTION_OPT_INT
 #undef OPTION_OPT_LONGLONG
 #undef OPTION_OPT_STR
@@ -398,7 +398,7 @@ enum config_subsys_id {
 #define SUBSYS(name, log, gather) \
   ceph_subsys_##name,
 #define DEFAULT_SUBSYS(log, gather)
-#include "common/config_opts.h"
+#include "common/legacy_config_opts.h"
 #undef SUBSYS
 #undef OPTION
 #undef OPTION_VALIDATOR
index ab4346aa8564dcb48b490f424d5fe2c527537b5c..3d716e8c9a6b105e8cffae0071a6cac3ed4cee7a 100644 (file)
@@ -47,5 +47,5 @@ string convert_type(string t) {
 
 int main(int argc, char **argv)
 {
-  #include "common/config_opts.h"
+  #include "common/legacy_config_opts.h"
 }
index 9d427ebcd17f53a15c4f407be445c23a6f132d6a..076b163f81c3338eac58e8e66ab95775c3c6ac66 100644 (file)
@@ -491,7 +491,7 @@ CEPH_RADOS_API void rados_shutdown(rados_t cluster);
  * - log_file, log_to_stderr, err_to_stderr, and log_to_syslog
  * - debug_rados, debug_objecter, debug_monc, debug_auth, or debug_ms
  *
- * All possible options can be found in src/common/config_opts.h in ceph.git
+ * See docs.ceph.com for information about available configuration options`
  *
  * @{
  */
index baae8f6f3ea3aad90b469af4d301ce4422d42b01..dbdb23f1c567c766657bebc42ff44ef1b3f47d6e 100644 (file)
@@ -61,7 +61,7 @@ install(FILES
   DESTINATION ${PYTHON_INSTDIR})
 
 if(WITH_MGR)
-  # Needs to match src/common/config_opts.h, which has:
+  # Location needs to match default setting for mgr_module_path, currently:
   # OPTION(mgr_module_path, OPT_STR, CEPH_PKGLIBDIR "/mgr")
   install(DIRECTORY
     ${CMAKE_CURRENT_SOURCE_DIR}/mgr