]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: log session open stats
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 15 Dec 2018 02:16:09 +0000 (18:16 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 4 Jan 2019 22:34:27 +0000 (14:34 -0800)
commitc89cd8cac16789ed98dc1487ec17f45adf03dd26
tree522dec782409f36be4a2f2561897b4504a8778e9
parent4331a92ab70f878fac574bd60a1ce3bc310680f2
mds: log session open stats

This is to assist with tracking what clients are connecting and how long it
takes for them to open a session (a rough estimate of how long it takes to
mount).

Example line:

    2018-12-17 17:21:31.682 7f822703c700  2 mds.0.server New client session: addr="127.0.0.1:60552/2307908923",elapsed=0.013384,throttled=0.000071,status="ACCEPTED",root="/"

Fixes: http://tracker.ceph.com/issues/37678
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/Server.cc
src/mds/SessionMap.cc
src/mds/SessionMap.h
src/mds/events/ESession.h