-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Remove dependence on using namespace
: Build of 'common' through osdc/Objecter.cc
#27255
Remove dependence on using namespace
: Build of 'common' through osdc/Objecter.cc
#27255
Conversation
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7431d49
to
251a4aa
Compare
retest this please. |
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 in general aside from just a couple of nits/questions.
@@ -1,4 +1,4 @@ | |||
// -*- mode:C; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- | |||
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- |
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.
👍
#include <stdio.h> | ||
|
||
#include <cstdint> | ||
#include <cstdio> |
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.
👍
Is https://jenkins.ceph.com/job/ceph-pull-requests/560/console related?
? |
@sebastian-philipp i don't think it's related. i don't even think "Failed to load class" fails the test(s). the reason we have these error messages is that |
#28250 is posted to address these annoying warnings. |
This works as a good supplement of ceph#27563. Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn> (cherry picked from commit 5d69526) Conflicts: slight conflict from the "Remove dependence on 'using namespac'" change, see ceph#27255
Currently there are various ways to set no{up,down,in,out} flags, by osd, by crush node, or by device class. Use traditional is_no{up,down,in,out} helper to catch-all, and add special wrappers for certain internal consumers. This way osd won't ignore the noup flag set by the new crush node, device class, or any future sources. Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn> (cherry picked from commit 9d11a3a) Conflicts: slight conflict from the "Remove dependence on 'using namespac'" change, see ceph#27255
Go through a chunk of stuff removing the need for 'using namespace std' and 'using namespace ceph'.
Partial, of course, but getting Objecter.cc to compile means that the most commonly used headers used by targets in common should be cleaned up. Others are free to continue with further installments, if they wish.