]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: increase default hard pg limit 22187/head
authorJosh Durgin <jdurgin@redhat.com>
Wed, 23 May 2018 16:17:04 +0000 (09:17 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Wed, 23 May 2018 16:17:04 +0000 (09:17 -0700)
The hard limit was too easy to hit during failure cases, especially
due to mismatched device sizes causing high variance in pgs/osd.

Fixes: https://tracker.ceph.com/issues/24243
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/common/options.cc

index 5768f2755909e234e26864ce4cb3df1953b0a4ee..c4429112774dd02b5d877da6fa2b41f9a70c2dfb 100644 (file)
@@ -3161,7 +3161,7 @@ std::vector<Option> get_global_options() {
     .set_description("Number of entries difference above which to use asynchronous recovery when appropriate"),
 
     Option("osd_max_pg_per_osd_hard_ratio", Option::TYPE_FLOAT, Option::LEVEL_ADVANCED)
-    .set_default(2)
+    .set_default(3)
     .set_min(1)
     .set_description("Maximum number of PG per OSD, a factor of 'mon_max_pg_per_osd'")
     .set_long_description("OSD will refuse to instantiate PG if the number of PG it serves exceeds this number.")