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

jewel: Decode errors on backtrace will crash MDS #12836

Merged
merged 3 commits into from Jan 25, 2017
Merged

Conversation

smithfarm
Copy link
Contributor

John Spray added 2 commits January 9, 2017 14:58
Fixes: http://tracker.ceph.com/issues/18311
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 6f489c7)
Validate that we get EIO and a damage table entry
when seeing a decode error on a backtrace.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 5f6cdab)
@smithfarm smithfarm self-assigned this Jan 9, 2017
@smithfarm smithfarm added this to the jewel milestone Jan 9, 2017
@jcsp jcsp added cephfs Ceph File System and removed core labels Jan 24, 2017
@jcsp
Copy link
Contributor

jcsp commented Jan 24, 2017

The test in this one had a dependency on this earlier test commit:

commit 5f77f09b019b607b84e6a8f89ce19065383ca108
Author: John Spray <john.spray@redhat.com>
Date:   Thu Oct 20 11:49:08 2016 +0100

    tasks/cephfs: add TestForwardScrub.test_backtrace_repair
    
    Signed-off-by: John Spray <john.spray@redhat.com>

That was part of the PR to add backtrace repairs during forward scrub, which is not a bugfix so I'd skip backporting it. I think the thing to do here is to copy-paste the _write_data_xattr function from that PR into a separate commit in this PR.

@smithfarm
Copy link
Contributor Author

@jcsp Done, but I guess it doesnt warrant a separate commit - better would be to squash the commit into the qa/tasks cherry-pick and write a note about it in Conflicts:, do you agree?

@smithfarm
Copy link
Contributor Author

@jcsp Oh, now I see you specifically said you wanted a separate commit. So, here it is.

This is a partial manual backport of 5f77f09

It is needed by test_corrupt_backtrace() in qa/tasks/cephfs/test_damage.py

Signed-off-by: Nathan Cutler <ncutler@suse.com>
@jcsp
Copy link
Contributor

jcsp commented Jan 25, 2017

@jcsp jcsp merged commit 9dd1251 into ceph:jewel Jan 25, 2017
@smithfarm smithfarm deleted the wip-18462-jewel branch January 25, 2017 16:11
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