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

ceph-dencoder: enable bluestore types #13595

Merged
merged 2 commits into from Feb 23, 2017

Conversation

tchaikov
Copy link
Contributor

No description provided.

@tchaikov tchaikov added the tests label Feb 22, 2017
add extends before marking unused ranges, otherwise add_unused()
asserts if (offset + len < blob_len)
this method is supposed to be used by ceph-dencoder, but
bluestore_blob_t's codec is quite different. we are not testing its
encoding in ceph-dencoder at this moment.

Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov tchaikov force-pushed the wip-enable-bluestore-ceph-dencoder branch from a842d08 to 21de2ca Compare February 23, 2017 04:21
tchaikov referenced this pull request Feb 23, 2017
Instead of versioning every blob encoding, and adding a full byte
per blob, instead version the entire shard or spanning blob
chunk, since they are always encoded together.

We overload the 'features' argument here to pass through a
struct_v.  This is slightly abusing an argument that is normally
used for feature bits, but only slightly.

Signed-off-by: Sage Weil <sage@redhat.com>
@tchaikov tchaikov force-pushed the wip-enable-bluestore-ceph-dencoder branch from 21de2ca to d3fdcb0 Compare February 23, 2017 05:51
* s/WITH_LIBAIO/HAVE_LIBAIO/: as HAVE_LIBAIO is used to detect if libaio
  is installed and is exposed in the acconfig.h.
* do not test bluestore_blob_t with ceph-dencoder, as it repurposes the
  "feature" parameter for struct_v.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Signed-off-by: Kefu Chai <kchai@redhat.com>
@liewegas liewegas merged commit 8ff8f0f into ceph:master Feb 23, 2017
@tchaikov tchaikov deleted the wip-enable-bluestore-ceph-dencoder branch February 23, 2017 16:48
@wjwithagen
Copy link
Contributor

@tchaikov
Nice work, thanx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants