diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2012-03-07 17:02:41 +1100 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2012-03-20 11:20:53 +1100 |
commit | 038c946e80b9f710e5949876bbd763033ab8e5ce (patch) | |
tree | 00db388a14e11bab6d949457188e5dc760d2ad9e /ctdb/include/ctdb_protocol.h | |
parent | b3ddf6901d1f4706731771606f466da4c6165fd9 (diff) | |
download | samba-038c946e80b9f710e5949876bbd763033ab8e5ce.tar.gz samba-038c946e80b9f710e5949876bbd763033ab8e5ce.tar.xz samba-038c946e80b9f710e5949876bbd763033ab8e5ce.zip |
add max hop count buckets to see how bad hopcounts are
(This used to be ctdb commit 7d3931298e6477d92f43652c3006b0c426cb1307)
Diffstat (limited to 'ctdb/include/ctdb_protocol.h')
-rw-r--r-- | ctdb/include/ctdb_protocol.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h index 3e466d83db..6c1cc64752 100644 --- a/ctdb/include/ctdb_protocol.h +++ b/ctdb/include/ctdb_protocol.h @@ -646,6 +646,8 @@ struct ctdb_statistics { uint32_t memory_used; uint32_t __last_counter; /* hack for control_statistics_all */ uint32_t max_hop_count; +#define MAX_HOP_COUNT_BUCKETS 16 + uint32_t hop_count_bucket[MAX_HOP_COUNT_BUCKETS]; struct latency_counter call_latency; struct latency_counter lockwait_latency; struct latency_counter childwrite_latency; |