]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/crush/crush-choose-args-expected-one-more-3.txt
import quincy beta 17.1.0
[ceph.git] / ceph / src / test / crush / crush-choose-args-expected-one-more-3.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 chooseleaf_vary_r 1
7 tunable chooseleaf_stable 1
8 tunable straw_calc_version 1
9 tunable allowed_bucket_algs 54
10
11 # devices
12 device 0 osd.0
13 device 1 osd.1
14
15 # types
16 type 0 osd
17 type 1 host
18 type 2 chassis
19 type 3 rack
20 type 4 row
21 type 5 pdu
22 type 6 pod
23 type 7 room
24 type 8 datacenter
25 type 9 zone
26 type 10 region
27 type 11 root
28
29 # buckets
30 host HOST {
31 id -2 # do not change unnecessarily
32 # weight 6.00000
33 alg straw2
34 hash 0 # rjenkins1
35 item osd.0 weight 3.00000
36 item osd.1 weight 3.00000
37 }
38 root default {
39 id -1 # do not change unnecessarily
40 # weight 6.00000
41 alg straw2
42 hash 0 # rjenkins1
43 item HOST weight 6.00000
44 }
45
46 # rules
47 rule replicated_rule {
48 id 0
49 type replicated
50 step take default
51 step choose firstn 0 type osd
52 step emit
53 }
54
55 # choose_args
56 choose_args 0 {
57 {
58 bucket_id -1
59 weight_set [
60 [ 5.00000 ]
61 [ 5.00000 ]
62 ]
63 ids [ -10 ]
64 }
65 {
66 bucket_id -2
67 weight_set [
68 [ 2.00000 3.00000 ]
69 [ 2.00000 3.00000 ]
70 ]
71 ids [ -20 1 ]
72 }
73 }
74
75 # end crush map