]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/balancer: add balancer module
authorSage Weil <sage@redhat.com>
Tue, 11 Jul 2017 20:27:08 +0000 (16:27 -0400)
committerSage Weil <sage@redhat.com>
Wed, 6 Sep 2017 20:45:46 +0000 (16:45 -0400)
commit0d9685c50f79fbb53dbc8bd98c95900ef6e902b8
treebc99d7d008ff025e9c7f17f8cf1f92ccc130ed84
parent39c42ddb9339c1950a3a474e8083db8b24e775a6
pybind/mgr/balancer: add balancer module

- wake up every minute
- back off when unknown, inactive, degraded
- throttle against misplaced ratio
- apply some optimization step
  - initially implement 'upmap' only

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/balancer/__init__.py [new file with mode: 0644]
src/pybind/mgr/balancer/module.py [new file with mode: 0644]