From: Sage Weil Date: Thu, 5 Oct 2017 22:25:06 +0000 (-0500) Subject: mgr/balancer: more aggressive steps X-Git-Tag: v13.0.1~320^2~7 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=0dbcf737eaed02b5aa94bc6f27231b4b87f09ce5;p=ceph-ci.git mgr/balancer: more aggressive steps We are smart enough to back off if we misplace too much. Signed-off-by: Sage Weil --- diff --git a/src/pybind/mgr/balancer/module.py b/src/pybind/mgr/balancer/module.py index 68ae7cb7ae5..87ffb6fca8e 100644 --- a/src/pybind/mgr/balancer/module.py +++ b/src/pybind/mgr/balancer/module.py @@ -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',