From 8783d2f6559ed73261117ffc4de9b3c32aa0067b Mon Sep 17 00:00:00 2001 From: haoyixing Date: Tue, 23 Feb 2021 10:03:44 +0000 Subject: [PATCH] common/Throttle: change description about throttle val l_throttle_val indicates current used count, not available. Signed-off-by: haoyixing --- src/common/Throttle.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/Throttle.cc b/src/common/Throttle.cc index 2e5b3459c391..5c45e9456c0b 100644 --- a/src/common/Throttle.cc +++ b/src/common/Throttle.cc @@ -53,7 +53,7 @@ Throttle::Throttle(CephContext *cct, const std::string& n, int64_t m, if (cct->_conf->throttler_perf_counter) { PerfCountersBuilder b(cct, string("throttle-") + name, l_throttle_first, l_throttle_last); - b.add_u64(l_throttle_val, "val", "Currently available throttle"); + b.add_u64(l_throttle_val, "val", "Currently taken slots"); b.add_u64(l_throttle_max, "max", "Max value for throttle"); b.add_u64_counter(l_throttle_get_started, "get_started", "Number of get calls, increased before wait"); b.add_u64_counter(l_throttle_get, "get", "Gets"); -- 2.47.3