]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd,mon: increase mon_max_pg_per_osd to 250 23861/head
authorNeha Ojha <nojha@redhat.com>
Thu, 26 Jul 2018 00:25:35 +0000 (17:25 -0700)
committerNathan Cutler <ncutler@suse.com>
Sun, 2 Sep 2018 11:58:50 +0000 (13:58 +0200)
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>
(cherry picked from commit f7911de61bca7c7f1ef007eb229ee845923c9751)

src/common/options.cc

index 957ef4d698bc6df5ca40422d3657d1153c2404e2..aacc17c3ee4f934411c1923cb1517060c565b8b1 100644 (file)
@@ -1352,7 +1352,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)