]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Bluestore: fix bluestore collection_list latency perf counter 52949/head
authorwangwenjuan <wangwenjuan@example.com>
Fri, 26 May 2023 06:57:15 +0000 (06:57 +0000)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Fri, 11 Aug 2023 13:08:01 +0000 (20:08 +0700)
Fixed bug in BlueStore::_collection_list using l_bluestore_remove_lat as bluestore list delay time,
which should be l_bluestore_clist_lat.

Fixes: https://tracker.ceph.com/issues/61460
Signed-off-by: Wangwenjuan <wangwenjuan_yewu@cmss.chinamobile.com>
(cherry picked from commit 749076a077dd059f3322fc56bf08b4b89ecda0aa)

src/os/bluestore/BlueStore.cc

index 1cc0f8fb5c983105cdfe6f747d862cb1b0a9fbbb..a66ac0dab874d828bfa6109fb8bdb22737af7c72 100644 (file)
@@ -10807,7 +10807,7 @@ int BlueStore::_collection_list(
     [&, start_time = mono_clock::now(), func_name = __func__] {
     log_latency_fn(
       func_name,
-      l_bluestore_remove_lat,
+      l_bluestore_clist_lat,
       mono_clock::now() - start_time,
       cct->_conf->bluestore_log_collection_list_age,
       [&](const ceph::timespan& lat) {