From 29d8c4fe731d7aa71fa24171f1a021fa7ddad53e Mon Sep 17 00:00:00 2001 From: Jianpeng Ma Date: Tue, 11 Apr 2017 20:01:19 +0800 Subject: [PATCH] os/bluestore: Record l_bluestore_state_kv_queued_lat for sync_submit_transaction mode. Signed-off-by: Jianpeng Ma --- src/os/bluestore/BlueStore.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3