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

OSD: faster log, fixed #6441

Merged
merged 1 commit into from Nov 28, 2015
Merged

OSD: faster log, fixed #6441

merged 1 commit into from Nov 28, 2015

Conversation

aclamk
Copy link
Contributor

@aclamk aclamk commented Nov 2, 2015

This is the reiteration of log speed optimization:
Speed optimizations. Merged 3 writes into 1.
Got rid of std::string construction.
More unification on syslog, stderr, fd.

Signed-off-by: Adam Kupczyk (akupczyk@mirantis.com)

@aclamk
Copy link
Contributor Author

aclamk commented Nov 3, 2015

@xinxinsh : This has nothing to do with the intended work. It was appended by mistake. I will rebase and repush.

@ghost
Copy link

ghost commented Nov 3, 2015

@aclamk please ignore the false negative from the bot. Could you please rebase and repush to run it again ? http://tracker.ceph.com/issues/13592

// returns current size of content
size_t PrebufferedStreambuf::size() const
{
if(m_overflow.size() == 0) {
Copy link
Member

Choose a reason for hiding this comment

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

can you please s/if(/if (/ throughout?

@liewegas liewegas self-assigned this Nov 9, 2015
Got rid of std::string construction.
More unification on syslog,stderr,fd.

Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
liewegas added a commit that referenced this pull request Nov 28, 2015
common: optimize debug logging code

Reviewed-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit dc9bbbf into ceph:master Nov 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants