-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
librados: cleanups #24896
librados: cleanups #24896
Conversation
5640d6a
to
2a7e7ce
Compare
debian/control
Outdated
@@ -589,7 +583,7 @@ Description: RADOS striping interface (development files) | |||
Package: librbd1 | |||
Architecture: linux-any | |||
Section: libs | |||
Depends: librados3 (= ${binary:Version}), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dillaman any issues with CephContext or other structures here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah -- they need to be version linked (or the cct()
method needs to be yanked and we need to figure out a new way to do logging)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh, i see. we take advantage of the fact that librados::config_t
is actually CephContext*
in (anonymous_namespace)::get_cct()
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm aside from the question about librbd exact version dependence
looks like the make check failure is real: |
42b8617
to
235b014
Compare
302bfbf
to
2f3f022
Compare
retest this please. |
- python-* packages are using the C APIs which are not changed across librados2 and librados3. Signed-off-by: Kefu Chai <kchai@redhat.com>
this change reverts cac1d6f Signed-off-by: Kefu Chai <kchai@redhat.com>
this change partially reverts 6eca7d0 Signed-off-by: Kefu Chai <kchai@redhat.com>
this change partially reverts 6eca7d0 Signed-off-by: Kefu Chai <kchai@redhat.com>
this change reverts b8ff781 Signed-off-by: Kefu Chai <kchai@redhat.com>
we have switched from tmap to omap long ago. but keep the server side implementation around, in case ancient client is still using these tmap APIs. also, tmap_update() is kept, because librbd is using it for v1 image backward compatibility. Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2f3f022
to
70a26ed
Compare
changelog:
it should address the failure of http://pulpito.ceph.com/kchai-2018-11-07_07:51:37-rados-wip-kefu2-testing-2018-11-04-1018-distro-basic-smithi/3233734/ , where we have
it should address the failure of http://pulpito.ceph.com/kchai-2018-11-07_07:51:37-rados-wip-kefu2-testing-2018-11-04-1018-distro-basic-smithi/3233772/, where we have
|
libradospp-{dev,devel} is necessary for compiling sources in examples/librados/hello_world.cc Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
because librados.hpp `#include`s librados.h Signed-off-by: Kefu Chai <kchai@redhat.com>
changes from the wishlist in https://pad.ceph.com/p/librados3