]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: osd_pg_epoch_persisted_max_stale < map_cache_size 5933/head
authorLoic Dachary <ldachary@redhat.com>
Tue, 15 Sep 2015 06:47:19 +0000 (08:47 +0200)
committerLoic Dachary <ldachary@redhat.com>
Tue, 15 Sep 2015 08:15:24 +0000 (10:15 +0200)
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 <ldachary@redhat.com>
src/common/config_opts.h

index 22139ba264900e096ee976eb9540da8a556d54e7..fd16972c30914b453d87c0c79338cd8691736b3f 100644 (file)
@@ -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