]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crushtool: fix unittest map
authorSage Weil <sage@newdream.net>
Tue, 17 May 2011 20:35:04 +0000 (13:35 -0700)
committerSage Weil <sage@newdream.net>
Tue, 17 May 2011 20:35:04 +0000 (13:35 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
src/test/cli/crushtool/need_tree_order.crush

index eabd241c30a70adda089226edb135e130a530ff9..c285158a98abd777114f1b580142cf6741548a37 100644 (file)
@@ -14,24 +14,28 @@ type 3  root
 # buckets
  host  host0 {
        id -1           # do not change unnecessarily
+       # weight 1.000
        alg straw
        hash 0  # rjenkins1
        item  device0 weight 1.000
 }
  host  host1 {
        id -2           # do not change unnecessarily
+       # weight 1.000
        alg straw
        hash 0  # rjenkins1
        item  device1 weight 1.000
 }
  host  host2 {
        id -5           # do not change unnecessarily
+       # weight 1.000
        alg straw
        hash 0  # rjenkins1
        item  device2 weight 1.000
 }
  rack  rack0 {
        id -3           # do not change unnecessarily
+       # weight 3.000
        alg straw
        hash 0  # rjenkins1
        item  host0 weight 1.000
@@ -40,6 +44,7 @@ type 3  root
 }
  root  root {
        id -4           # do not change unnecessarily
+       # weight 4.000
        alg straw
        hash 0  # rjenkins1
        item  rack0 weight 4.000