From 5ff30d6cf3d22991e7a7618201a71b577be7536f Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 24 Dec 2013 08:01:15 -0800 Subject: [PATCH] crush/CrushWrapper: note about get_immediate_parent() Signed-off-by: Sage Weil --- src/crush/CrushWrapper.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/crush/CrushWrapper.h b/src/crush/CrushWrapper.h index 9ff1b02c8786f..c9664cb880f3a 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); -- 2.39.5