]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/balancer: more aggressive steps
authorSage Weil <sage@redhat.com>
Thu, 5 Oct 2017 22:25:06 +0000 (17:25 -0500)
committerSage Weil <sage@redhat.com>
Wed, 1 Nov 2017 12:28:49 +0000 (07:28 -0500)
We are smart enough to back off if we misplace too much.

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

index 68ae7cb7ae55e7e212e940f376aa7e7f9e7906c4..87ffb6fca8ef496d69d7d0e59d4034259db998c6 100644 (file)
@@ -613,7 +613,7 @@ class Module(MgrModule):
         max_iterations = self.get_config('crush_compat_max_iterations', 25)
         if max_iterations < 1:
             return False
-        step = self.get_config('crush_compat_step', .2)
+        step = self.get_config('crush_compat_step', .5)
         if step <= 0 or step >= 1.0:
             return False
         max_misplaced = float(self.get_config('max_misplaced',