From 8b38f10bc2ee3643a33ea5f9545ad5c00e4ac5b4 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 18 Dec 2013 21:18:28 -0800 Subject: [PATCH] crush/mapper: fix crush_choose_firstn comment Signed-off-by: Sage Weil --- src/crush/mapper.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/crush/mapper.c b/src/crush/mapper.c index c763da323c2c1..54359b6f9eee4 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, -- 2.39.5