]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdmap: implement subtree_is_down() and containing_subtree_is_down()
authorSage Weil <sage@inktank.com>
Mon, 28 Jan 2013 03:41:25 +0000 (19:41 -0800)
committerSage Weil <sage@inktank.com>
Tue, 29 Jan 2013 01:13:59 +0000 (17:13 -0800)
commit2b8ba7ca23fe7d9ab741b1f4e087f3eb78ef7d1f
tree6e2804225b387a4258e9f8ff8073e0dca3d07b27
parent75f6ba56e1862900eede1ef81425ef36789390c0
osdmap: implement subtree_is_down() and containing_subtree_is_down()

Implement two methos to see if an entire subtree is down, and if the
containing parent node of type T of a given node is completely down.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/OSDMap.cc
src/osd/OSDMap.h