diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-03-19 18:58:37 +0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-04-05 08:07:28 +0400 |
commit | d83ed858f144e3cfbef883d4bc499113cdddabeb (patch) | |
tree | ab5dd9ca873be26634171470f43915d19b3b78c5 /include/linux/crush/crush.h | |
parent | e2b149cc4ba00766aceb87950c6de72ea7fc8b2e (diff) | |
download | linux-d83ed858f144e3cfbef883d4bc499113cdddabeb.tar.xz |
crush: add SET_CHOOSELEAF_VARY_R step
This lets you adjust the vary_r tunable on a per-rule basis.
Reflects ceph.git commit f944ccc20aee60a7d8da7e405ec75ad1cd449fac.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/crush/crush.h')
-rw-r--r-- | include/linux/crush/crush.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/crush/crush.h b/include/linux/crush/crush.h index 75f36a6c7f67..4fad5f8ee01d 100644 --- a/include/linux/crush/crush.h +++ b/include/linux/crush/crush.h @@ -51,6 +51,7 @@ enum { CRUSH_RULE_SET_CHOOSELEAF_TRIES = 9, /* override chooseleaf_descend_once */ CRUSH_RULE_SET_CHOOSE_LOCAL_TRIES = 10, CRUSH_RULE_SET_CHOOSE_LOCAL_FALLBACK_TRIES = 11, + CRUSH_RULE_SET_CHOOSELEAF_VARY_R = 12 }; /* |