]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: Enable pg_prime by Default
authorRobert LeBlanc <robert@leblancnet.us>
Sun, 28 Feb 2016 18:35:24 +0000 (11:35 -0700)
committerRobert LeBlanc <robert@leblancnet.us>
Sun, 28 Feb 2016 18:35:24 +0000 (11:35 -0700)
Although this does not completely resolve the start up issues, it looks
like this really helps with the memory usage during start-up.

Signed-off-by: Robert LeBlanc <robert.leblanc@endurance.com>
src/common/config_opts.h

index 04dafac42a855d26464f5ada5aa3c408bdbf8b4f..d7b589bc4d8ddd86ea0a0c74325170a5b3529d5c 100644 (file)
@@ -235,7 +235,7 @@ OPTION(mon_osd_max_op_age, OPT_DOUBLE, 32)     // max op age before we get conce
 OPTION(mon_osd_max_split_count, OPT_INT, 32) // largest number of PGs per "involved" OSD to let split create
 OPTION(mon_osd_allow_primary_temp, OPT_BOOL, false)  // allow primary_temp to be set in the osdmap
 OPTION(mon_osd_allow_primary_affinity, OPT_BOOL, false)  // allow primary_affinity to be set in the osdmap
-OPTION(mon_osd_prime_pg_temp, OPT_BOOL, false)  // prime osdmap with pg mapping changes
+OPTION(mon_osd_prime_pg_temp, OPT_BOOL, true)  // prime osdmap with pg mapping changes
 OPTION(mon_osd_prime_pg_temp_max_time, OPT_FLOAT, .5)  // max time to spend priming
 OPTION(mon_osd_pool_ec_fast_read, OPT_BOOL, false) // whether turn on fast read on the pool or not
 OPTION(mon_stat_smooth_intervals, OPT_INT, 2)  // smooth stats over last N PGMap maps