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

cmake: fix unittest_rbd_mirror failures under non-optimized builds #9990

Merged
merged 3 commits into from Jun 29, 2016

Conversation

dillaman
Copy link

No description provided.

Jason Dillaman added 3 commits June 28, 2016 14:58
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
With optimizations disabled, there can be cross translation unit
symbol leaking that is not present when inlining is enabled.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
@@ -31,11 +42,11 @@ namespace mirror {
namespace image_sync {

template <>
struct ObjectCopyRequest<librbd::MockImageCtx> {
struct ObjectCopyRequest<librbd::MockTestImageCtx> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, i got what you meant. thought we needed to have ObjectCopyRequest<librbd:: MockImageCtx >

@tchaikov
Copy link
Contributor

looks great to me.

@tchaikov tchaikov merged commit aee60ff into ceph:master Jun 29, 2016
@dillaman dillaman deleted the wip-rbd-mirror-cmake branch June 29, 2016 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants