]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/options: osd_crush_chooseleaf_type is CLUSTER_CREATE 31584/head
authorSage Weil <sage@redhat.com>
Tue, 12 Nov 2019 23:50:14 +0000 (17:50 -0600)
committerSage Weil <sage@redhat.com>
Tue, 12 Nov 2019 23:50:34 +0000 (17:50 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/options.cc

index f20568501cf2ded256a1f07a5abdfcbf6f018346..6f1cffbc7e8443a3bbc4115ceaffddeb15e3b79a 100644 (file)
@@ -2497,7 +2497,7 @@ std::vector<Option> get_global_options() {
 
     Option("osd_crush_chooseleaf_type", Option::TYPE_INT, Option::LEVEL_DEV)
     .set_default(1)
-    .set_flag(Option::FLAG_CREATE)
+    .set_flag(Option::FLAG_CLUSTER_CREATE)
     .set_description("default chooseleaf type for osdmaptool --create"),
 
     Option("osd_pool_use_gmt_hitset", Option::TYPE_BOOL, Option::LEVEL_DEV)