mirror of
https://github.com/ceph/ceph
synced 2025-03-08 01:10:10 +00:00
crush/mapper: fix crush_choose_firstn comment
Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
ea3a0bb8b7
commit
8b38f10bc2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user