]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # begin crush map |
2 | tunable choose_local_tries 0 | |
3 | tunable choose_local_fallback_tries 0 | |
4 | tunable choose_total_tries 50 | |
5 | tunable chooseleaf_descend_once 1 | |
6 | tunable straw_calc_version 1 | |
7 | ||
8 | # devices | |
9 | device 0 device0 | |
10 | ||
11 | # types | |
12 | type 0 device | |
13 | type 1 host | |
14 | type 2 default | |
15 | ||
16 | # buckets | |
17 | host host0 { | |
18 | id -1 # do not change unnecessarily | |
20effc67 | 19 | # weight 1.00000 |
7c673cae FG |
20 | alg straw2 |
21 | hash 0 # rjenkins1 | |
20effc67 | 22 | item device0 weight 1.00000 |
7c673cae FG |
23 | } |
24 | default default { | |
25 | id -2 # do not change unnecessarily | |
20effc67 | 26 | # weight 1.00000 |
7c673cae FG |
27 | alg straw2 |
28 | hash 0 # rjenkins1 | |
20effc67 | 29 | item host0 weight 1.00000 |
7c673cae FG |
30 | } |
31 | ||
32 | # rules | |
20effc67 | 33 | rule replicated_rule { |
c07f9fc5 | 34 | id 0 |
7c673cae | 35 | type replicated |
7c673cae FG |
36 | step take default |
37 | step chooseleaf firstn 0 type host | |
38 | step emit | |
39 | } | |
40 | ||
41 | # end crush map |