Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e32d712 authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

crush: fix crush_choose_firstn comment



Reflects ceph.git commit 8b38f10bc2ee3643a33ea5f9545ad5c00e4ac5b4.

Signed-off-by: default avatarIlya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: default avatarSage Weil <sage@inktank.com>
parent 2d8be0bc
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -290,7 +290,11 @@ static int is_out(const struct crush_map *map,
 * @type: the type of item to choose
 * @out: pointer to output vector
 * @outpos: our position in that vector
 * @recurse_to_leaf: true if we want one device under each item of given type
 * @tries: number of attempts to make
 * @recurse_tries: number of attempts to have recursive chooseleaf make
 * @local_tries: localized retries
 * @local_fallback_tries: localized fallback retries
 * @recurse_to_leaf: true if we want one device under each item of given type (chooseleaf instead of choose)
 * @out2: second output vector for leaf items (if @recurse_to_leaf)
 */
static int crush_choose_firstn(const struct crush_map *map,