]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: expose CRUSHMap.find_roots() 42007/head
authorKefu Chai <kchai@redhat.com>
Wed, 26 May 2021 12:05:29 +0000 (20:05 +0800)
committerAvan Thakkar <athakkar@localhost.localdomain>
Mon, 28 Jun 2021 07:52:29 +0000 (13:22 +0530)
commitc0d9f8bfcd7dae1534a5b4a65269ff5f4f973cb6
tree47cac4f3b9a33098dd67d2245b90508a0d5fcfd9
parente65f6085962745422dffad03ebc4fa7099ba7ae3
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