]> git.apps.os.sepia.ceph.com Git - ceph.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>
Thu, 2 Nov 2017 19:56:35 +0000 (14:56 -0500)
commitafcce93591c7e5c53596cec03165033f049a0c63
treef1d0d59b35ef447886ddc9f15fc13dd545b2693f
parentc6052f2706ad6b7c92f9d6fa381527e8922b30c6
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>
(cherry picked from commit d9a31595ba15de5fda104a0154778e3200fc46a0)
src/pybind/mgr/balancer/module.py