]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: increase default hard pg limit 22592/head
authorJosh Durgin <jdurgin@redhat.com>
Wed, 23 May 2018 16:17:04 +0000 (09:17 -0700)
committerPrashant D <pdhange@redhat.com>
Mon, 18 Jun 2018 06:13:38 +0000 (02:13 -0400)
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>
(cherry picked from commit dfdedce89521f89046fb13287d9fdd683c91e242)

src/common/options.cc

index 7b24bac30d364093c658375facb522f94a07c3e6..be41ddf8834c60275cc25ee948c21f28e23370b1 100644 (file)
@@ -2672,7 +2672,7 @@ std::vector<Option> get_global_options() {
     .set_description(""),
 
     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.")