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

make ceph_test_rados / RadosModel validate the versions exposed by librados #556

Merged
merged 4 commits into from Aug 29, 2013

Conversation

liewegas
Copy link
Member

No description provided.

Sage Weil added 4 commits August 28, 2013 17:05
The C++ AioCompletion::get_version() method only returns 32-bits.  Sigh.

Add a get_version64() method that returns all 64-bits. Do not touch the
32-bit version to avoid breaking the ABI.

Backport: dumpling, cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
Presumbly a mismerge somewhere back around
de20997.

Signed-off-by: Sage Weil <sage@inktank.com>
Set the user version to the *current* object version, not the version
we would use if we were to modify it.  We move the assignments inside
the reply (read or error) block to make it more obvious which paths
are possible.

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Sage Weil <sage@inktank.com>
@gregsfortytwo
Copy link
Member

Reviewed-by:

@athanatos
Copy link
Contributor

Looks good to me

liewegas pushed a commit that referenced this pull request Aug 29, 2013
make ceph_test_rados / RadosModel validate the versions exposed by librados

Reviewed-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
@liewegas liewegas merged commit 9cc40a5 into master Aug 29, 2013
@liewegas liewegas deleted the wip-user-version branch August 29, 2013 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants