From 2ccef89badb1f7a63721a0bf48d05eb4c2d0a97a Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Wed, 30 Sep 2015 19:17:08 -0400 Subject: [PATCH] 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 --- src/common/config_opts.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 71a2ebca9e79f..ab52520547ec3 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 -- 2.39.5