Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+5 -1
+5 -1
net/ceph/crush/mapper.c
··· 290 290 * @type: the type of item to choose 291 291 * @out: pointer to output vector 292 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 298 * @out2: second output vector for leaf items (if @recurse_to_leaf) 295 299 */ 296 300 static int crush_choose_firstn(const struct crush_map *map,