From: Jason Dillaman Date: Wed, 30 Sep 2015 23:17:08 +0000 (-0400) Subject: common: new tracing config options X-Git-Tag: v9.2.0~9^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2ccef89badb1f7a63721a0bf48d05eb4c2d0a97a;p=ceph.git common: new tracing config options Config options to enable LTTng-UST tracepoint providers for the OSD, OSD objectstore, librados, and librbd. Signed-off-by: Jason Dillaman --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 71a2ebca9e79..ab52520547ec 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -715,6 +715,7 @@ OPTION(osd_failsafe_full_ratio, OPT_FLOAT, .97) // what % full makes an OSD "ful OPTION(osd_failsafe_nearfull_ratio, OPT_FLOAT, .90) // what % full makes an OSD near full (failsafe) OPTION(osd_pg_object_context_cache_count, OPT_INT, 64) +OPTION(osd_tracing, OPT_BOOL, false) // true if LTTng-UST tracepoints should be enabled // determines whether PGLog::check() compares written out log to stored log OPTION(osd_debug_pg_log_writeout, OPT_BOOL, false) @@ -781,6 +782,7 @@ OPTION(osd_max_attr_name_len, OPT_U32, 100) // max rados attr name len; canno OPTION(osd_max_attr_size, OPT_U64, 0) OPTION(osd_objectstore, OPT_STR, "filestore") // ObjectStore backend type +OPTION(osd_objectstore_tracing, OPT_BOOL, false) // true if LTTng-UST tracepoints should be enabled // Override maintaining compatibility with older OSDs // Set to true for testing. Users should NOT set this. OPTION(osd_debug_override_acting_compat, OPT_BOOL, false) @@ -943,6 +945,7 @@ OPTION(journal_discard, OPT_BOOL, false) //using ssd disk as journal, whether su 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(rados_tracing, OPT_BOOL, false) // true if LTTng-UST tracepoints should be enabled OPTION(rbd_op_threads, OPT_INT, 1) OPTION(rbd_op_thread_timeout, OPT_INT, 60) @@ -969,6 +972,7 @@ OPTION(rbd_blacklist_expire_seconds, OPT_INT, 0) // number of seconds to blackli OPTION(rbd_request_timed_out_seconds, OPT_INT, 30) // number of seconds before maint request times out OPTION(rbd_skip_partial_discard, OPT_BOOL, false) // when trying to discard a range inside an object, set to true to skip zeroing the range. OPTION(rbd_enable_alloc_hint, OPT_BOOL, true) // when writing a object, it will issue a hint to osd backend to indicate the expected size object need +OPTION(rbd_tracing, OPT_BOOL, false) // true if LTTng-UST tracepoints should be enabled /* * The following options change the behavior for librbd's image creation methods that