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

mgr/balancer: pool-specific optimization support and bug fixes #20154

Merged
merged 2 commits into from Feb 1, 2018

Conversation

xiexingguo
Copy link
Member

No description provided.

This currently only works for upmap.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
@@ -675,8 +691,8 @@ def do_crush_compat(self, plan):
overlap[osd] = 1
visited[osd] = 1
if len(overlap) > 0:
self.log.err('error: some osds belong to multiple subtrees: %s' %
overlap)
self.log.error('error: some osds belong to multiple subtrees: %s' %
Copy link
Contributor

Choose a reason for hiding this comment

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

this has been fixed by #20130 :)

Copy link
Member

@liewegas liewegas left a comment

Choose a reason for hiding this comment

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

looks good, aside for the dup commit! Thanks!

…Eval

Otherwise there might be obsolete pool/root infos etc.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
@tchaikov
Copy link
Contributor

tchaikov commented Feb 1, 2018

@xiexingguo shall we backport 52e336e to luminous? IMO, it's a bug fix of balancer mgr plugin. the same applies to #20180.

@tchaikov tchaikov merged commit 8c7dd25 into ceph:master Feb 1, 2018
@xiexingguo xiexingguo deleted the wip-mgr-balancer-fixes branch February 1, 2018 05:42
@xiexingguo
Copy link
Member Author

Thanks @tchaikov for merging.

shall we backport 52e336e to luminous? IMO, it's a bug fix of balancer mgr plugin. the same applies to #20180.

I am still testing and verifying this module and I'll prepare a batch of fixes back into luminous later by myself when everything is done :-)

@tchaikov
Copy link
Contributor

tchaikov commented Feb 1, 2018

@xiexingguo thanks in advance.

@liewegas
Copy link
Member

liewegas commented Feb 1, 2018

thanks @xiexingguo !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants