Code Review
/
stor4nfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
initial code repo
[stor4nfv.git]
/
src
/
ceph
/
src
/
test
/
cli
/
crushtool
/
simple.template.four
1
# begin crush map
2
3
# devices
4
device 0 device0
5
6
# types
7
type 0 device
8
type 1 host
9
type 2 cluster
10
11
# buckets
12
host host0 {
13
id -2 # do not change unnecessarily
14
# weight 1.000
15
alg straw
16
hash 0 # rjenkins1
17
item device0 weight 1.000
18
}
19
cluster cluster0 {
20
id -1 # do not change unnecessarily
21
# weight 1.000
22
alg straw
23
hash 0 # rjenkins1
24
item host0 weight 1.000
25
}
26
27
# rules
28
rule data {
29
id 0
30
type replicated
31
min_size 1
32
max_size 10
33
step take cluster0
34
step chooseleaf firstn 0 type host
35
step emit
36
}
37
rule metadata {
38
id 1
39
type replicated
40
min_size 1
41
max_size 10
42
step take cluster0
43
step chooseleaf firstn 0 type host
44
step emit
45
}
46
rule rbd {
47
id 2
48
type replicated
49
min_size 1
50
max_size 10
51
step take cluster0
52
step chooseleaf firstn 0 type host
53
step emit
54
}
55
56
# end crush map