]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr: expose CRUSHMap.find_roots()
authorKefu Chai <kchai@redhat.com>
Wed, 26 May 2021 12:05:29 +0000 (20:05 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 26 May 2021 12:08:00 +0000 (20:08 +0800)
commit7858b5680432b156eedd7fd9babe5be87fdd2c20
tree4381354583c47c1da88b6419d75af8a13c38030b
parent31c84c0b3c74e26af273f1758639b068adfd8dde
mgr: expose CRUSHMap.find_roots()

so mgr module could use it to enumerate all nodes without parents

See-also: https://tracker.ceph.com/issues/50971
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mgr/PyOSDMap.cc
src/pybind/mgr/ceph_module.pyi
src/pybind/mgr/mgr_module.py