]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/balancer: stop if we get a perfect score
authorSage Weil <sage@redhat.com>
Wed, 27 Sep 2017 19:12:36 +0000 (15:12 -0400)
committerSage Weil <sage@redhat.com>
Wed, 1 Nov 2017 12:28:49 +0000 (07:28 -0500)
commitf1f3014ffcc67200c20e6fb2b2e6e8f1141a0a1d
tree3f3b3dc189e251b261292dc9e63ca07e06402caa
parent37bd64405b8a578329b9a903c9a53322ea29caaf
mgr/balancer: stop if we get a perfect score

..and fix the 'worse' threshold (we're just working around floating
point imprecision; 1.01 was too coarse).

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