From: Sage Weil Date: Thu, 19 Dec 2013 05:18:28 +0000 (-0800) Subject: crush/mapper: fix crush_choose_firstn comment X-Git-Tag: v0.75~75^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8b38f10bc2ee3643a33ea5f9545ad5c00e4ac5b4;p=ceph.git crush/mapper: fix crush_choose_firstn comment Signed-off-by: Sage Weil --- diff --git a/src/crush/mapper.c b/src/crush/mapper.c index c763da323c2c..54359b6f9eee 100644 --- a/src/crush/mapper.c +++ b/src/crush/mapper.c @@ -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,