diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2013-12-24 14:19:26 -0500 |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2013-12-31 13:32:24 -0500 |
commit | 917edad5d1d62070436b74ecbf5ea019b651ff69 (patch) | |
tree | 6f1c49323619289dc992a5163a8f2041d5cfa329 /include/linux/crush | |
parent | cc10df4a3a5c34cb1d5b635ac70dd1fc406153ce (diff) |
crush: CHOOSE_LEAF -> CHOOSELEAF throughout
This aligns the internal identifier names with the user-visible names in
the decompiled crush map language.
Reflects ceph.git commit caa0e22e15e4226c3671318ba1f61314bf6da2a6.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'include/linux/crush')
-rw-r--r-- | include/linux/crush/crush.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/crush/crush.h b/include/linux/crush/crush.h index 5f95969347ec..7b0fc4aba75b 100644 --- a/include/linux/crush/crush.h +++ b/include/linux/crush/crush.h | |||
@@ -44,11 +44,11 @@ enum { | |||
44 | /* arg2 = type */ | 44 | /* arg2 = type */ |
45 | CRUSH_RULE_CHOOSE_INDEP = 3, /* same */ | 45 | CRUSH_RULE_CHOOSE_INDEP = 3, /* same */ |
46 | CRUSH_RULE_EMIT = 4, /* no args */ | 46 | CRUSH_RULE_EMIT = 4, /* no args */ |
47 | CRUSH_RULE_CHOOSE_LEAF_FIRSTN = 6, | 47 | CRUSH_RULE_CHOOSELEAF_FIRSTN = 6, |
48 | CRUSH_RULE_CHOOSE_LEAF_INDEP = 7, | 48 | CRUSH_RULE_CHOOSELEAF_INDEP = 7, |
49 | 49 | ||
50 | CRUSH_RULE_SET_CHOOSE_TRIES = 8, /* override choose_total_tries */ | 50 | CRUSH_RULE_SET_CHOOSE_TRIES = 8, /* override choose_total_tries */ |
51 | CRUSH_RULE_SET_CHOOSE_LEAF_TRIES = 9, /* override chooseleaf_descend_once */ | 51 | CRUSH_RULE_SET_CHOOSELEAF_TRIES = 9, /* override chooseleaf_descend_once */ |
52 | }; | 52 | }; |
53 | 53 | ||
54 | /* | 54 | /* |