From 2e98edfe4922d50f2a75109e10191d0f67531b30 Mon Sep 17 00:00:00 2001 From: lvshuhua Date: Tue, 4 Sep 2018 16:00:21 +0800 Subject: [PATCH] rgw: add latency info in the log of req done Signed-off-by: lvshuhua --- src/rgw/rgw_process.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rgw/rgw_process.cc b/src/rgw/rgw_process.cc index c1cfbb02e62..c21a98b60c8 100644 --- a/src/rgw/rgw_process.cc +++ b/src/rgw/rgw_process.cc @@ -245,6 +245,7 @@ done: dout(1) << "====== req done req=" << hex << req << dec << " op status=" << op_ret << " http_status=" << s->err.http_ret + << " latency=" << s->time_elapsed() << " ======" << dendl; -- 2.47.3