]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/PyOSDMap: get_crush, find_takes, get_take_weight_osd_map
authorSage Weil <sage@redhat.com>
Sun, 23 Jul 2017 04:10:56 +0000 (00:10 -0400)
committerJohn Spray <john.spray@redhat.com>
Wed, 1 Nov 2017 23:03:22 +0000 (23:03 +0000)
commit423947563c8e88f89bef9d71b3116c3302bd40c9
tree85ac6b7b60ea0ed6c468a0b93d33da7849b20dd7
parent073f23734c8058e3efcb440df89adab818510695
mgr/PyOSDMap: get_crush, find_takes, get_take_weight_osd_map

These let us identify distinct CRUSH hierarchies that rules distribute
data over, and create relative weight maps for the OSDs they map to.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 3b8a276c437cfd599c55a935d141375afda676ff)
src/mgr/PyOSDMap.cc
src/pybind/mgr/mgr_module.py