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: don't access mdsmap from log submit thread #12208

Merged
merged 1 commit into from Dec 7, 2016
Merged

Conversation

ukernel
Copy link
Contributor

@ukernel ukernel commented Nov 29, 2016

the log submit thread does not hold the big mds_lock.

Fixes: http://tracker.ceph.com/issues/18047
Signed-off-by: Yan, Zheng zyan@redhat.com

@ukernel ukernel added bug-fix cephfs Ceph File System labels Nov 29, 2016
@jcsp
Copy link
Contributor

jcsp commented Nov 29, 2016

It seems kind of redundant to store a copy of this for every event. What if we had a copy on MDLog that was read only by submit_thread and updated from MDSRank::handle_mds_map when the up features changed?

the log submit thread does not hold the big mds_lock.

Fixes: http://tracker.ceph.com/issues/18047
Signed-off-by: Yan, Zheng <zyan@redhat.com>
@ghost
Copy link

ghost commented Dec 2, 2016

jenkins test this please (https://jenkins.ceph.com/job/ceph-pull-requests/15088/ has readable.sh failure)

@gregsfortytwo
Copy link
Member

Looks like that happened, are you good with this @jcsp?
(A comment would have made it more apparent @ukernel :) h

@jcsp jcsp merged commit aa0a0e2 into ceph:master Dec 7, 2016
@ukernel ukernel deleted the wip-18047 branch January 12, 2017 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants