diff options
author | Samuel Just <sam.just@inktank.com> | 2013-08-19 00:02:24 -0700 |
---|---|---|
committer | Samuel Just <sam.just@inktank.com> | 2013-08-19 00:04:13 -0700 |
commit | 0c4f2f34b78b634efe7f4d56694e2edeeda5a130 (patch) | |
tree | 3f7b88913a64f11dbeadbe20461d404b695dbc1e /src/common/config_opts.h | |
parent | 290bcd8a718887eb0e28aa2d97bceeee79068ea9 (diff) | |
download | ceph-wip-dumpling-pglog-undirty.tar.gz |
PGLog: add a config to disable PGLog::check()wip-dumpling-pglog-undirty
This is a debug check which may be causing excessive
cpu usage.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Diffstat (limited to 'src/common/config_opts.h')
-rw-r--r-- | src/common/config_opts.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/config_opts.h b/src/common/config_opts.h index d933250f282..df206c007f4 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -483,6 +483,9 @@ OPTION(osd_leveldb_compression, OPT_BOOL, true) // OSD's leveldb uses compressio OPTION(osd_leveldb_paranoid, OPT_BOOL, false) // OSD's leveldb paranoid flag OPTION(osd_leveldb_log, OPT_STR, "") // enable OSD leveldb log file +// determines whether PGLog::check() compares written out log to stored log +OPTION(osd_debug_pg_log_writeout, OPT_BOOL, true) + /** * osd_client_op_priority and osd_recovery_op_priority adjust the relative * priority of client io vs recovery io. |