diff options
Diffstat (limited to 'src/os/WBThrottle.h')
-rw-r--r-- | src/os/WBThrottle.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/os/WBThrottle.h b/src/os/WBThrottle.h index 2ac7234bd44..a188855b268 100644 --- a/src/os/WBThrottle.h +++ b/src/os/WBThrottle.h @@ -26,6 +26,17 @@ #include "common/Thread.h" #include "common/ceph_context.h" +class PerfCounters; +enum { + l_wbthrottle_first = 999090, + l_wbthrottle_bytes_dirtied, + l_wbthrottle_bytes_wb, + l_wbthrottle_ios_dirtied, + l_wbthrottle_ios_wb, + l_wbthrottle_inodes_dirtied, + l_wbthrottle_inodes_wb, + l_wbthrottle_last +}; /** * WBThrottle @@ -65,6 +76,7 @@ class WBThrottle : Thread, public md_config_obs_t { }; CephContext *cct; + PerfCounters *logger; bool stopping; Mutex lock; Cond cond; |