Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luminous: mds: log new client sessions with various metadata #26257

Merged
merged 3 commits into from Feb 12, 2019

Conversation

batrick
Copy link
Member

@batrick batrick commented Feb 3, 2019

@batrick batrick added the cephfs Ceph File System label Feb 3, 2019
@batrick batrick added this to the luminous milestone Feb 3, 2019
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>
(cherry picked from commit c89cd8c)

Conflicts:
	src/mds/Server.cc
	src/mds/SessionMap.cc
	src/mds/SessionMap.h
	src/mds/events/ESession.h
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit a225c26)

Conflicts:
	src/mds/MDSRank.cc
MDS can't reach this code due to assert in C_MDS_session_finish.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 0992ac1)

Conflicts:
	src/mds/Server.cc
@yuriw
Copy link
Contributor

yuriw commented Feb 6, 2019

@yuriw yuriw merged commit 2f6289f into ceph:luminous Feb 12, 2019
@batrick batrick deleted the i38084 branch February 12, 2019 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants