From 0dbcf737eaed02b5aa94bc6f27231b4b87f09ce5 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 5 Oct 2017 17:25:06 -0500 Subject: [PATCH] mgr/balancer: more aggressive steps We are smart enough to back off if we misplace too much. Signed-off-by: Sage Weil --- src/pybind/mgr/balancer/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- 2.39.5