]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/balancer: make crush-compat mode work!
authorSage Weil <sage@redhat.com>
Tue, 26 Sep 2017 22:00:08 +0000 (18:00 -0400)
committerSage Weil <sage@redhat.com>
Wed, 1 Nov 2017 12:28:49 +0000 (07:28 -0500)
commitd9a31595ba15de5fda104a0154778e3200fc46a0
treea2b01d7a67020824396167186b840024288df935
parent2912364ff8ba1c2a83a6e881a4b1dad40718634e
mgr/balancer: make crush-compat mode work!

- it does multiple iterations, like the upmap optimizer.
- it decreases the step size if it isn't improving, in the hope
that it is overshooting the minimum
- debug output is cleaned up a bit (the info level should be
genuinely useful)

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/balancer/module.py