]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: default 'osd_preserve_trimmed_log = false'
authorSage Weil <sage@inktank.com>
Tue, 17 Jul 2012 19:38:40 +0000 (12:38 -0700)
committerSage Weil <sage@inktank.com>
Tue, 17 Jul 2012 19:40:33 +0000 (12:40 -0700)
This option makes the osd skip zeroing old trimmed regions of the log.  The
data is never read, since the xattrs indicate which part of the log is
valid.  We've never actually used this to debug a problem, and it consumes
space, so let's disable it.

Signed-off-by: Sage Weil <sage@inktank.com>
src/common/config_opts.h

index a7e2a11e0e31a77c36357825c8cc0b36af7fbdbe..32dcadf45dd8dc60e9727d8bbdfa71b4a79168a1 100644 (file)
@@ -312,7 +312,7 @@ OPTION(osd_mon_ack_timeout, OPT_INT, 30) // time out a mon if it doesn't ack sta
 OPTION(osd_min_down_reporters, OPT_INT, 1)   // number of OSDs who need to report a down OSD for it to count
 OPTION(osd_min_down_reports, OPT_INT, 3)     // number of times a down OSD must be reported for it to count
 OPTION(osd_default_data_pool_replay_window, OPT_INT, 45)
-OPTION(osd_preserve_trimmed_log, OPT_BOOL, true)
+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_max_active, OPT_INT, 5)