]> git.proxmox.com Git - ceph.git/blame - ceph/src/test/cli/crushtool/straw2.txt
import quincy beta 17.1.0
[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
20effc67 19 # weight 1.00000
7c673cae
FG
20 alg straw2
21 hash 0 # rjenkins1
20effc67 22 item device0 weight 1.00000
7c673cae
FG
23}
24default 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 33rule 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