aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph/crush
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2013-12-24 14:19:27 -0500
committerIlya Dryomov <ilya.dryomov@inktank.com>2013-12-31 13:32:28 -0500
commit0e32d7126cdf30b610bc131c81f131c717bd0d77 (patch)
tree3cd07e1963d8f7eee856dbd70d659bbdb85d13b1 /net/ceph/crush
parent2d8be0bc8bc2dc7d3fc3d322c4db3fdf6c924660 (diff)
crush: fix crush_choose_firstn comment
Reflects ceph.git commit 8b38f10bc2ee3643a33ea5f9545ad5c00e4ac5b4. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'net/ceph/crush')
-rw-r--r--net/ceph/crush/mapper.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/ceph/crush/mapper.c b/net/ceph/crush/mapper.c
index 71ce4f12a7c9..b703790b4e44 100644
--- a/net/ceph/crush/mapper.c
+++ b/net/ceph/crush/mapper.c
@@ -290,7 +290,11 @@ static int is_out(const struct crush_map *map,
290 * @type: the type of item to choose 290 * @type: the type of item to choose
291 * @out: pointer to output vector 291 * @out: pointer to output vector
292 * @outpos: our position in that vector 292 * @outpos: our position in that vector
293 * @recurse_to_leaf: true if we want one device under each item of given type 293 * @tries: number of attempts to make
294 * @recurse_tries: number of attempts to have recursive chooseleaf make
295 * @local_tries: localized retries
296 * @local_fallback_tries: localized fallback retries
297 * @recurse_to_leaf: true if we want one device under each item of given type (chooseleaf instead of choose)
294 * @out2: second output vector for leaf items (if @recurse_to_leaf) 298 * @out2: second output vector for leaf items (if @recurse_to_leaf)
295 */ 299 */
296static int crush_choose_firstn(const struct crush_map *map, 300static int crush_choose_firstn(const struct crush_map *map,