]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crush/mapper: fix crush_choose_firstn comment 968/head
authorSage Weil <sage@inktank.com>
Thu, 19 Dec 2013 05:18:28 +0000 (21:18 -0800)
committerSage Weil <sage@inktank.com>
Thu, 19 Dec 2013 05:22:24 +0000 (21:22 -0800)
Signed-off-by: Sage Weil <sage@inktank.com>
src/crush/mapper.c

index c763da323c2c121bfb386311a33a729bedbb62c8..54359b6f9eee4a7f09e60b2ddbdf0b047b4202cd 100644 (file)
@@ -288,7 +288,11 @@ static int is_out(const struct crush_map *map, const __u32 *weight, int weight_m
  * @param type the type of item to choose
  * @param out pointer to output vector
  * @param outpos our position in that vector
- * @param recurse_to_leaf: true if we want one device under each item of given type
+ * @param tries number of attempts to make
+ * @param recurse_tries number of attempts to have recursive chooseleaf make
+ * @param local_tries localized retries
+ * @param local_fallback_tries localized fallback retries
+ * @param recurse_to_leaf: true if we want one device under each item of given type (chooseleaf instead of choose)
  * @param out2 second output vector for leaf items (if @a recurse_to_leaf)
  */
 static int crush_choose_firstn(const struct crush_map *map,