]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
common/options: allow osd_pool_default_pg_autoscale_mode to update a runtime
authorSage Weil <sage@redhat.com>
Fri, 26 Apr 2019 16:26:21 +0000 (11:26 -0500)
committerSage Weil <sage@redhat.com>
Fri, 26 Apr 2019 16:26:21 +0000 (11:26 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/options.cc

index 353bd0a11f0df605180b992d78c902d8a2f01c4f..7e7c7ae9a0030cb071e756ff69a45f0623a0b451 100644 (file)
@@ -2565,6 +2565,7 @@ std::vector<Option> get_global_options() {
 
     Option("osd_pool_default_pg_autoscale_mode", Option::TYPE_STR, Option::LEVEL_ADVANCED)
     .set_default("warn")
+    .set_flag(Option::FLAG_RUNTIME)
     .set_enum_allowed({"off", "warn", "on"})
     .set_description("Default PG autoscaling behavior for new pools"),