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

Conversation

Projects
None yet
2 participants
@ghost

ghost commented Jul 28, 2015

os/chain_xattr: handle read on chnk-aligned xattr
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

This comment has been minimized.

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

Merge pull request #5367: read on chunk-aligned xattr not handled
Reviewed-by: Loic Dachary <ldachary@redhat.com>

ghost pushed a commit that referenced this pull request Aug 30, 2015

Merge pull request #5367: read on chunk-aligned xattr not handled
Reviewed-by: Loic Dachary <ldachary@redhat.com>

ghost pushed a commit that referenced this pull request Aug 30, 2015

Merge pull request #5367: read on chunk-aligned xattr not handled
Reviewed-by: Loic Dachary <ldachary@redhat.com>

ghost pushed a commit that referenced this pull request Aug 31, 2015

Merge pull request #5367: read on chunk-aligned xattr not handled
Reviewed-by: Loic Dachary <ldachary@redhat.com>

ghost pushed a commit that referenced this pull request Sep 1, 2015

Merge pull request #5367: read on chunk-aligned xattr not handled
Reviewed-by: Loic Dachary <ldachary@redhat.com>

ghost pushed a commit that referenced this pull request Sep 2, 2015

Merge pull request #5367: read on chunk-aligned xattr not handled
Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost

This comment has been minimized.

ghost commented Sep 6, 2015

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

@liewegas

This comment has been minimized.

Member

liewegas commented Sep 6, 2015

👍

ghost pushed a commit that referenced this pull request Sep 6, 2015

Loic Dachary
Merge pull request #5367 from dachary/wip-12311-hammer
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 from read on chunk-aligned xattr not handled to osd: read on chunk-aligned xattr not handled Sep 13, 2015

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment