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

mds, client: fix locking around handle_conf_change #7312

Merged
merged 6 commits into from Jan 29, 2016

Conversation

jcsp
Copy link
Contributor

@jcsp jcsp commented Jan 21, 2016

Depends on: #7295 (commits also included in this branch)

John Spray added 6 commits January 21, 2016 13:29
Development clusters are the right place to enable
performance-degrading correctness checks.

Signed-off-by: John Spray <john.spray@redhat.com>
Because we acquire mds_lock inside asok handlers,
we must not hold mds_lock while registering our commands.

Fixes: ceph#14374
Signed-off-by: John Spray <john.spray@redhat.com>
This was a merge glitch between Ali's cmake
updates and my VolumeClient PR.  My PR
was using the old TCMALLOC_LIBS vs. the
new ALLOC_LIBS variable.

Signed-off-by: John Spray <john.spray@redhat.com>
Fixes: ceph#14365
Signed-off-by: John Spray <john.spray@redhat.com>
Because by doing so we establish a dependency
between client lock and admin socket lock.

Signed-off-by: John Spray <john.spray@redhat.com>
We have to be careful about holding mds_lock
while setting things up, and we also have
to handle either locked or unlocked
calls to handle_conf_change.

Signed-off-by: John Spray <john.spray@redhat.com>
@jcsp
Copy link
Contributor Author

jcsp commented Jan 21, 2016

Tests: ceph/ceph-qa-suite#805

@gregsfortytwo
Copy link
Member

Please review this and the tests, @ukernel

@gregsfortytwo
Copy link
Member

And mark them as needs-qa if they're good! :)

@ukernel ukernel added needs-qa and removed needs-qa labels Jan 25, 2016
@ukernel
Copy link
Contributor

ukernel commented Jan 25, 2016

looks good.

I found a related bug #7343

gregsfortytwo added a commit that referenced this pull request Jan 26, 2016
…esting

#7312

Reviewed-by: Yan, Zheng <zyan@redhat.com>
@gregsfortytwo
Copy link
Member

gregsfortytwo added a commit that referenced this pull request Jan 29, 2016
mds, client: fix locking around handle_conf_change

Reviewed-by: Yan, Zheng <zyan@redhat.com>
@gregsfortytwo gregsfortytwo merged commit 248bec7 into ceph:master Jan 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants