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 #5235

Merged
1 commit merged into from Sep 4, 2015

Conversation

Projects
None yet
3 participants
@smithfarm
Contributor

smithfarm commented Jul 14, 2015

@smithfarm smithfarm self-assigned this Jul 14, 2015

@smithfarm smithfarm added this to the firefly milestone Jul 14, 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)

Conflicts:
    src/test/objectstore/chain_xattr.cc
        added #define FILENAME
@smithfarm

This comment has been minimized.

Contributor

smithfarm commented Sep 4, 2015

@athanatos This has passed a rados suite (see http://tracker.ceph.com/issues/11644#rados for details). OK to merge, do you think?

@smithfarm

This comment has been minimized.

Contributor

smithfarm commented Sep 4, 2015

@dachary ?

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

Loic Dachary
Merge pull request #5235 from SUSE/wip-12310-firefly
read on chunk-aligned xattr not handled

Reviewed-by: Loic Dachary <ldachary@redhat.com>

@ghost ghost merged commit fc27b0d into ceph:firefly Sep 4, 2015

@smithfarm smithfarm deleted the SUSE:wip-12310-firefly branch Sep 4, 2015

@ghost ghost changed the title from read on chunk-aligned xattr not handled to osd: read on chunk-aligned xattr not handled Oct 24, 2015

This issue was closed.

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