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

Merged
merged 1 commit into from Jan 22, 2017

Conversation

LiumxNL
Copy link
Contributor

@LiumxNL 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
Copy link
Contributor Author

LiumxNL commented Jan 18, 2017

@tchaikov @liewegas pls review, thanks!

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants