]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd,mon: increase mon_max_pg_per_osd to 250 23251/head
authorNeha Ojha <nojha@redhat.com>
Thu, 26 Jul 2018 00:25:35 +0000 (17:25 -0700)
committerNeha Ojha <nojha@redhat.com>
Thu, 26 Jul 2018 15:35:11 +0000 (08:35 -0700)
https://bugzilla.redhat.com/show_bug.cgi?id=1603615 indicates
a case when pg calc conflicts with mon_max_pg_per_osd, and does not
allow pool creation when this limit is 200. Hence, increase this limit
to avoid this.

Signed-off-by: Neha Ojha <nojha@redhat.com>
src/common/options.cc

index 088c63d3470874956bca5a7f1373282e13350f94..200d889df416ca4d9df289b853c82764a7e02254 100644 (file)
@@ -1416,7 +1416,7 @@ std::vector<Option> get_global_options() {
     .set_description("minimal number PGs per (in) osd before we warn the admin"),
 
     Option("mon_max_pg_per_osd", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
-    .set_default(200)
+    .set_default(250)
     .set_description("Max number of PGs per OSD the cluster will allow"),
 
     Option("mon_pg_warn_max_object_skew", Option::TYPE_FLOAT, Option::LEVEL_ADVANCED)