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

infernalis: mds: fix client capabilities during reconnect (client.XXXX isn't responding to mclientcaps warning) #6752

Merged
3 commits merged into from Feb 10, 2016

Conversation

ukernel
Copy link
Contributor

@ukernel ukernel commented Dec 1, 2015

Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 655ae79)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 9ab61b2)
Client may flush and drop caps at the same time. If client need to
send cap reconnect before the caps get flushed. The issued caps in
the cap reconnect does not include the flushing caps. When choosing
lock states, MDS only consider the issued caps in cap reconnect, it
may choose wrong states.

Fixes: ceph#11482
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit ce9a596)
@ukernel ukernel added bug-fix cephfs Ceph File System labels Dec 1, 2015
@ghost ghost changed the title Infernalis 11482 mds: fix client capabilities during reconnect (client.XXXX isn't responding to mclientcaps warning) Dec 1, 2015
@ghost ghost added this to the infernalis milestone Dec 1, 2015
@ghost ghost self-assigned this Dec 1, 2015
ghost pushed a commit that referenced this pull request Feb 8, 2016
…ct (client.XXXX isn't responding to mclientcaps warning)

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ukernel
Copy link
Contributor Author

ukernel commented Feb 8, 2016

looks good

@ghost
Copy link

ghost commented Feb 10, 2016

Passed fs suite http://tracker.ceph.com/issues/13750#note-19

ghost pushed a commit that referenced this pull request Feb 10, 2016
mds: fix client capabilities during reconnect (client.XXXX isn't responding to mclientcaps warning)

Reviewed-by: Yan, Zheng <zyan@redhat.com>
@ghost ghost merged commit 2bfc75a into ceph:infernalis Feb 10, 2016
@Abhishekvrshny Abhishekvrshny changed the title mds: fix client capabilities during reconnect (client.XXXX isn't responding to mclientcaps warning) infernalis: mds: fix client capabilities during reconnect (client.XXXX isn't responding to mclientcaps warning) Feb 18, 2016
@ukernel ukernel deleted the infernalis-11482 branch March 10, 2016 07:41
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix cephfs Ceph File System
Projects
None yet
2 participants