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