]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: add latency info in the log of req done 23906/head
authorlvshuhua <lvshuhua@cmss.chinamobile.com>
Tue, 4 Sep 2018 08:00:21 +0000 (16:00 +0800)
committerlvshuhua <lvshuhua@cmss.chinamobile.com>
Thu, 8 Nov 2018 02:46:20 +0000 (10:46 +0800)
Signed-off-by: lvshuhua <lvshuhua@cmss.chinamobile.com>
src/rgw/rgw_process.cc

index c1cfbb02e62402d83904a3cfca0c93c6a80c8d2d..c21a98b60c85185ca1764dc4f51c5150bdac70ec 100644 (file)
@@ -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;