diff options
author | Sage Weil <sage@inktank.com> | 2013-10-15 14:04:24 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-10-15 14:23:43 -0700 |
commit | 5aa237e8a8055502ee588ebccee3c5ad9a2ebf94 (patch) | |
tree | 5628480cc616981b054096a4538edf3136df23bf | |
parent | ee480d868538d702a8624d592a89adef221a0588 (diff) | |
download | ceph-5aa237e8a8055502ee588ebccee3c5ad9a2ebf94.tar.gz |
mon, osd: send leveldb log to /dev/null by default
Fixes: #5175
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/common/config_opts.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 700a210b412..b419dec88b5 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -203,7 +203,7 @@ OPTION(mon_leveldb_bloom_size, OPT_INT, 0) // monitor's leveldb bloom bits per e OPTION(mon_leveldb_max_open_files, OPT_INT, 0) // monitor's leveldb max open files OPTION(mon_leveldb_compression, OPT_BOOL, false) // monitor's leveldb uses compression OPTION(mon_leveldb_paranoid, OPT_BOOL, false) // monitor's leveldb paranoid flag -OPTION(mon_leveldb_log, OPT_STR, "") +OPTION(mon_leveldb_log, OPT_STR, "/dev/null") OPTION(mon_leveldb_size_warn, OPT_U64, 40*1024*1024*1024) // issue a warning when the monitor's leveldb goes over 40GB (in bytes) OPTION(paxos_stash_full_interval, OPT_INT, 25) // how often (in commits) to stash a full copy of the PaxosService state OPTION(paxos_max_join_drift, OPT_INT, 10) // max paxos iterations before we must first sync the monitor stores @@ -492,7 +492,7 @@ OPTION(osd_leveldb_bloom_size, OPT_INT, 0) // OSD's leveldb bloom bits per entry OPTION(osd_leveldb_max_open_files, OPT_INT, 0) // OSD's leveldb max open files OPTION(osd_leveldb_compression, OPT_BOOL, true) // OSD's leveldb uses compression OPTION(osd_leveldb_paranoid, OPT_BOOL, false) // OSD's leveldb paranoid flag -OPTION(osd_leveldb_log, OPT_STR, "") // enable OSD leveldb log file +OPTION(osd_leveldb_log, OPT_STR, "/dev/null") // enable OSD leveldb log file // determines whether PGLog::check() compares written out log to stored log OPTION(osd_debug_pg_log_writeout, OPT_BOOL, false) |