]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
config_opts.h: default osd_recovery_delay_start to 0
authorSamuel Just <sam.just@inktank.com>
Thu, 10 Jan 2013 19:06:02 +0000 (11:06 -0800)
committerSamuel Just <sam.just@inktank.com>
Thu, 10 Jan 2013 19:10:04 +0000 (11:10 -0800)
This setting was intended to prevent recovery from overwhelming peering traffic
by delaying the recovery_wq until osd_recovery_delay_start seconds after pgs
stop being added to it.  This should be less necessary now that recovery
messages are sent with strictly lower priority then peering messages.

Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Gregory Farnum <greg@inktank.com>
src/common/config_opts.h

index 896534d88cf47d8e39998db1f5dd02659d1f1a3f..ef1cdcf6b740a4c6c97499282d8c77349968b647 100644 (file)
@@ -337,7 +337,7 @@ OPTION(osd_min_down_reports, OPT_INT, 3)     // number of times a down OSD must
 OPTION(osd_default_data_pool_replay_window, OPT_INT, 45)
 OPTION(osd_preserve_trimmed_log, OPT_BOOL, false)
 OPTION(osd_auto_mark_unfound_lost, OPT_BOOL, false)
-OPTION(osd_recovery_delay_start, OPT_FLOAT, 15)
+OPTION(osd_recovery_delay_start, OPT_FLOAT, 0)
 OPTION(osd_recovery_max_active, OPT_INT, 5)
 OPTION(osd_recovery_max_chunk, OPT_U64, 8<<20)  // max size of push chunk
 OPTION(osd_recovery_forget_lost_objects, OPT_BOOL, false)   // off for now