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

New filtered MDS tell commands for sessions #6180

Merged
merged 4 commits into from Oct 13, 2015

Conversation

Projects
None yet
3 participants
@jcsp
Copy link
Contributor

jcsp commented Oct 6, 2015

No description provided.

John Spray added some commits Oct 2, 2015

John Spray
mds: add auth_name to session_info_t
Record the name of the entity who's authorisation
credentials were used during connection.  This
allows us to refer to it later when listing or
evicting sessions, for the user's benefit.

Signed-off-by: John Spray <john.spray@redhat.com>
John Spray
mds: call through to MDSRank in handle_command
...so that we can implement things like
session ls in MDSRankDispatcher.

Signed-off-by: John Spray <john.spray@redhat.com>
John Spray
mds: implement filtered "session ls" tell command
So that one can efficiently query client session
state remotely.

Signed-off-by: John Spray <john.spray@redhat.com>
John Spray
test: add TestSessionFilter
Tests for SessionFilter, the class filters
allows session listing and eviction in the
new MDS tell commands.

Signed-off-by: John Spray <john.spray@redhat.com>
@ukernel

This comment has been minimized.

Copy link
Member

ukernel commented Oct 8, 2015

looks good

jcsp added a commit that referenced this pull request Oct 13, 2015

Merge pull request #6180 from jcsp/wip-tell-sessions
New filtered MDS tell commands for sessions

Reviewed-by: Yan, Zheng <zyan@redhat.com>

@jcsp jcsp merged commit 70264e2 into ceph:master Oct 13, 2015

@jcsp jcsp deleted the jcsp:wip-tell-sessions branch Oct 13, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.