mirror of
https://github.com/ceph/ceph
synced 2024-12-18 17:37:38 +00:00
Merge pull request #6300 from XinzeChi/wip-throttle-max
common: fix reset max in Throttle using perf reset command Reviewed-by: Loic Dachary <ldachary@redhat.com>
This commit is contained in:
commit
b5332742ad
@ -42,8 +42,8 @@ Throttle::Throttle(CephContext *cct, const std::string& n, int64_t m, bool _use_
|
||||
|
||||
if (cct->_conf->throttler_perf_counter) {
|
||||
PerfCountersBuilder b(cct, string("throttle-") + name, l_throttle_first, l_throttle_last);
|
||||
b.add_u64_counter(l_throttle_val, "val", "Currently available throttle");
|
||||
b.add_u64_counter(l_throttle_max, "max", "Max value for throttle");
|
||||
b.add_u64(l_throttle_val, "val", "Currently available throttle");
|
||||
b.add_u64(l_throttle_max, "max", "Max value for throttle");
|
||||
b.add_u64_counter(l_throttle_get, "get", "Gets");
|
||||
b.add_u64_counter(l_throttle_get_sum, "get_sum", "Got data");
|
||||
b.add_u64_counter(l_throttle_get_or_fail_fail, "get_or_fail_fail", "Get blocked during get_or_fail");
|
||||
|
Loading…
Reference in New Issue
Block a user