]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crush/CrushWrapper: note about get_immediate_parent() 988/head
authorSage Weil <sage@inktank.com>
Tue, 24 Dec 2013 16:01:15 +0000 (08:01 -0800)
committerSage Weil <sage@inktank.com>
Tue, 24 Dec 2013 16:01:15 +0000 (08:01 -0800)
Signed-off-by: Sage Weil <sage@inktank.com>
src/crush/CrushWrapper.h

index 9ff1b02c8786f3dac5c615786802e20967268d8a..c9664cb880f3ab983721831811293cd609c67a43 100644 (file)
@@ -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<string,string> get_immediate_parent(int id, int *ret = NULL);
   int get_immediate_parent_id(int id, int *parent);