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/OSDMap: get_previous_up_osd_before() may run into endless loop #12976

Merged
merged 1 commit into from Jan 22, 2017

Conversation

Projects
None yet
2 participants
@LiumxNL
Contributor

LiumxNL commented Jan 18, 2017

make get prev/next up osd more efficient
what's more, in get_previous_up_osd_before(), if arg n = 0, run into endless loop

Signed-off-by: Mingxin Liu mingxin@xsky.com

@LiumxNL

This comment has been minimized.

Contributor

LiumxNL commented Jan 18, 2017

@tchaikov @liewegas pls review, thanks!

osd/OSDMap: make get prev/next up osd more efficient
what's more, in get_previous_up_osd_before(), if arg n = 0, run into endless loop

Signed-off-by: Mingxin Liu <mingxin@xsky.com>

@liewegas liewegas merged commit c0b4ced into ceph:master Jan 22, 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