mirror of
https://github.com/ceph/ceph
synced 2024-12-18 01:16:55 +00:00
*** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@447 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
parent
4eb8ae9e7e
commit
a7f33319f1
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user