]> git.proxmox.com Git - ceph.git/blame - ceph/src/test/cli/crushtool/straw2.txt
buildsys: switch source download to quincy
[ceph.git] / ceph / src / test / cli / crushtool / straw2.txt
CommitLineData
7c673cae
FG
1# begin crush map
2tunable choose_local_tries 0
3tunable choose_local_fallback_tries 0
4tunable choose_total_tries 50
5tunable chooseleaf_descend_once 1
6tunable straw_calc_version 1
7
8# devices
9device 0 device0
10
11# types
12type 0 device
13type 1 host
14type 2 default
15
16# buckets
17host host0 {
18 id -1 # do not change unnecessarily
19 # weight 1.000
20 alg straw2
21 hash 0 # rjenkins1
22 item device0 weight 1.000
23}
24default default {
25 id -2 # do not change unnecessarily
26 # weight 1.000
27 alg straw2
28 hash 0 # rjenkins1
29 item host0 weight 1.000
30}
31
32# rules
33rule replicated_ruleset {
c07f9fc5 34 id 0
7c673cae
FG
35 type replicated
36 min_size 1
37 max_size 10
38 step take default
39 step chooseleaf firstn 0 type host
40 step emit
41}
42
43# end crush map