Signed-off-by: Haomai Wang <haomai@xsky.com>
}
return;
case TransContext::STATE_KV_QUEUED:
- txc->log_state_latency(logger, l_bluestore_state_kv_queued_lat);
+ txc->log_state_latency(logger, l_bluestore_state_kv_committing_lat);
txc->state = TransContext::STATE_KV_DONE;
_txc_finish_kv(txc);
// ** fall-thru **
if (txc->last_blobid > high_blobid) {
high_blobid = txc->last_blobid;
}
+ txc->log_state_latency(logger, l_bluestore_state_kv_queued_lat);
}
if (!kv_committing.empty()) {
TransContext *first_txc = kv_committing.front();