]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: Record l_bluestore_state_kv_queued_lat for sync_submit_transaction... 14448/head
authorJianpeng Ma <jianpeng.ma@intel.com>
Tue, 11 Apr 2017 12:01:19 +0000 (20:01 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Thu, 13 Apr 2017 09:26:13 +0000 (17:26 +0800)
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/os/bluestore/BlueStore.cc

index e9f0d1d40f8042864d1a153af9e9c812f77fe769..6f06104498e12ce97c200e20cab46ddbf6bade20 100644 (file)
@@ -7836,7 +7836,7 @@ void BlueStore::_kv_sync_thread()
        if (txc->had_ios) {
          --txc->osr->txc_with_unstable_io;
        }
-
+       txc->log_state_latency(logger, l_bluestore_state_kv_queued_lat);
        // release throttle *before* we commit.  this allows new ops
        // to be prepared and enter pipeline while we are waiting on
        // the kv commit sync/flush.  then hopefully on the next