From: Sage Weil Date: Tue, 24 Dec 2013 16:01:15 +0000 (-0800) Subject: crush/CrushWrapper: note about get_immediate_parent() X-Git-Tag: v0.75~37^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5ff30d6cf3d22991e7a7618201a71b577be7536f;p=ceph.git crush/CrushWrapper: note about get_immediate_parent() Signed-off-by: Sage Weil --- diff --git a/src/crush/CrushWrapper.h b/src/crush/CrushWrapper.h index 9ff1b02c8786..c9664cb880f3 100644 --- a/src/crush/CrushWrapper.h +++ b/src/crush/CrushWrapper.h @@ -323,6 +323,8 @@ public: /** * returns the (type, name) of the parent bucket of id + * + * FIXME: ambiguous for items that occur multiple times in the map */ pair get_immediate_parent(int id, int *ret = NULL); int get_immediate_parent_id(int id, int *parent);