]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/cli/crushtool/straw2.txt
import quincy beta 17.1.0
[ceph.git] / ceph / src / test / cli / crushtool / straw2.txt
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
19 # weight 1.00000
20 alg straw2
21 hash 0 # rjenkins1
22 item device0 weight 1.00000
23 }
24 default default {
25 id -2 # do not change unnecessarily
26 # weight 1.00000
27 alg straw2
28 hash 0 # rjenkins1
29 item host0 weight 1.00000
30 }
31
32 # rules
33 rule replicated_rule {
34 id 0
35 type replicated
36 step take default
37 step chooseleaf firstn 0 type host
38 step emit
39 }
40
41 # end crush map