From: haoyixing Date: Tue, 23 Feb 2021 10:03:44 +0000 (+0000) Subject: common/Throttle: change description about throttle val X-Git-Tag: v17.1.0~2856^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8783d2f6559ed73261117ffc4de9b3c32aa0067b;p=ceph.git common/Throttle: change description about throttle val l_throttle_val indicates current used count, not available. Signed-off-by: haoyixing --- diff --git a/src/common/Throttle.cc b/src/common/Throttle.cc index 2e5b3459c3918..5c45e9456c0be 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");