From: Jianpeng Ma Date: Tue, 11 Apr 2017 12:01:19 +0000 (+0800) Subject: os/bluestore: Record l_bluestore_state_kv_queued_lat for sync_submit_transaction... X-Git-Tag: v12.0.3~325^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=29d8c4fe731d7aa71fa24171f1a021fa7ddad53e;p=ceph.git os/bluestore: Record l_bluestore_state_kv_queued_lat for sync_submit_transaction mode. Signed-off-by: Jianpeng Ma --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index e9f0d1d40f80..6f06104498e1 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -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