From 807a34cc0dbbb374e0b5e598497d73a8c0b81e34 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Tue, 15 Sep 2015 08:47:19 +0200 Subject: [PATCH] common: osd_pg_epoch_persisted_max_stale < map_cache_size 1ff51a299d20dd73a95ba55fdec57498b8c71c13 reduced map_cache_size to 200, osd_pg_epoch_persisted_max_stale must be lowered because it does not make sense for it to be the equal or greater than map_cache_size. Signed-off-by: Loic Dachary --- 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 22139ba264900..fd16972c30914 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -679,7 +679,7 @@ OPTION(osd_default_notify_timeout, OPT_U32, 30) // default notify timeout in sec OPTION(osd_kill_backfill_at, OPT_INT, 0) // Bounds how infrequently a new map epoch will be persisted for a pg -OPTION(osd_pg_epoch_persisted_max_stale, OPT_U32, 200) +OPTION(osd_pg_epoch_persisted_max_stale, OPT_U32, 150) // make this < map_cache_size! OPTION(osd_min_pg_log_entries, OPT_U32, 3000) // number of entries to keep in the pg log when trimming it OPTION(osd_max_pg_log_entries, OPT_U32, 10000) // max entries, say when degraded, before we trim -- 2.39.5