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

osd: read on chunk-aligned xattr not handled #5367

Merged
1 commit merged into from Sep 6, 2015
Merged

osd: read on chunk-aligned xattr not handled #5367

1 commit merged into from Sep 6, 2015

Conversation

ghost
Copy link

@ghost ghost commented Jul 28, 2015

If we wrote an xattr that was a multiple of a chunk, we will try to read
the next chunk and get ENODATA.  If that happens bail out of the loop and
assume we've read the whole thing.

Backport: hammer, firefly
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 8614dce)
@ghost ghost self-assigned this Jul 28, 2015
@ghost ghost added this to the hammer milestone Jul 28, 2015
@ghost ghost added bug-fix core labels Jul 28, 2015
ghost pushed a commit that referenced this pull request Jul 29, 2015
@ghost
Copy link
Author

ghost commented Aug 30, 2015

@athanatos does this backport look good to merge ? It passed a run of the hammer rados suite ( see http://tracker.ceph.com/issues/12701#rados for details ).

ghost pushed a commit that referenced this pull request Aug 30, 2015
Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Aug 30, 2015
Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Aug 30, 2015
Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Aug 31, 2015
Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Sep 1, 2015
Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Sep 2, 2015
Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost
Copy link
Author

ghost commented Sep 6, 2015

@liewegas Sam's on vacation, would you mind taking a look at that backport ?

@liewegas
Copy link
Member

liewegas commented Sep 6, 2015

👍

ghost pushed a commit that referenced this pull request Sep 6, 2015
read on chunk-aligned xattr not handled

Reviewed-by: Sage Weil <sage@redhat.com>
@ghost ghost merged commit 2fd8ec8 into ceph:hammer Sep 6, 2015
@ghost ghost changed the title read on chunk-aligned xattr not handled osd: read on chunk-aligned xattr not handled Sep 13, 2015
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants