From 199397dc96b9689eed07eff3d857b9682797a627 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 17 Jul 2012 12:38:40 -0700 Subject: [PATCH] osd: default 'osd_preserve_trimmed_log = false' 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 --- src/common/config_opts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index a7e2a11e0e31a..32dcadf45dd8d 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -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) -- 2.39.5