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/PG.cc: loop invariant code motion #12720

Merged
merged 1 commit into from Apr 26, 2017

Conversation

Projects
None yet
2 participants
@dragonylffly
Contributor

dragonylffly commented Dec 30, 2016

No description provided.

}
if (past_intervals.size() < old_size)
dirty_big_info = true;

This comment has been minimized.

@liewegas

liewegas Dec 30, 2016

Member

this seems more complex and slower than reassigning the bool

osd/PG.cc: avoid repetitive construction
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
@dragonylffly

This comment has been minimized.

Contributor

dragonylffly commented Jan 1, 2017

@liewegas updated

@liewegas liewegas merged commit 415dcb4 into ceph:master Apr 26, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment