From a7f33319f1477c6df375fec70caaabdde8b7911e Mon Sep 17 00:00:00 2001 From: sage Date: Mon, 11 Jul 2005 20:28:53 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@447 29311d96-e01e-0410-9327-a35deaab8ce9 --- ceph/mds/MDS.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ceph/mds/MDS.cc b/ceph/mds/MDS.cc index 39d95cee0af..a8678a355cc 100644 --- a/ceph/mds/MDS.cc +++ b/ceph/mds/MDS.cc @@ -632,6 +632,11 @@ public: if (event) { mds->commit_request(req, reply, tracei, event); } else { + // committed, log separately + timepair_t now = g_clock.gettimepair(); + timepair_t lat = now - mds->mdcache->active_requests[req].start_time; + mds->logger->finc("ljsum", timepair_to_double(lat)); + mds->logger->inc("ljnum"); // reply. mds->reply_request(req, reply, tracei); }