From: Josh Durgin Date: Mon, 3 Feb 2014 20:09:34 +0000 (-0800) Subject: conf: add options for librados timeouts X-Git-Tag: v0.67.6~14 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=55d254d5ea113d8be29afe18dc9940f14d93ebb4;p=ceph.git conf: add options for librados timeouts These will be implemented in subsequent patches. Signed-off-by: Josh Durgin (cherry picked from commit 0dcceff1378d85ca6d81d102d201890b8a71af6b) --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index ce73fb364548..f4dc28756184 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -586,6 +586,9 @@ OPTION(journal_replay_from, OPT_INT, 0) OPTION(journal_zero_on_create, OPT_BOOL, false) OPTION(journal_ignore_corruption, OPT_BOOL, false) // assume journal is not corrupt +OPTION(rados_mon_op_timeout, OPT_DOUBLE, 0) // how many seconds to wait for a response from the monitor before returning an error from a rados operation. 0 means on limit. +OPTION(rados_osd_op_timeout, OPT_DOUBLE, 0) // how many seconds to wait for a response from osds before returning an error from a rados operation. 0 means no limit. + OPTION(rbd_cache, OPT_BOOL, false) // whether to enable caching (writeback unless rbd_cache_max_dirty is 0) OPTION(rbd_cache_writethrough_until_flush, OPT_BOOL, false) // whether to make writeback caching writethrough until flush is called, to be sure the user of librbd will send flushs so that writeback is safe OPTION(rbd_cache_size, OPT_LONGLONG, 32<<20) // cache size in bytes