]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crush-map.rst: fix chooseleaf syntax in ssd example
authorSamuel Just <sam.just@inktank.com>
Thu, 28 Feb 2013 23:46:08 +0000 (15:46 -0800)
committerSamuel Just <sam.just@inktank.com>
Thu, 28 Feb 2013 23:50:48 +0000 (15:50 -0800)
Fixes: 4304
Backport: bobtail
Reviewed-by: Greg Farnum <greg@inktank.com>
Signed-off-by: Samuel Just <sam.just@inktank.com>
doc/rados/operations/crush-map.rst

index 3eb7c8e531adf41b2475095be43fb4226361c687..27607c922f34f9342c2790e49843857d7cc809ea 100644 (file)
@@ -593,7 +593,7 @@ below::
                min_size 2
                max_size 2
                step take platter
-               step chooseleaf 0 type host
+               step chooseleaf firstn 0 type host
                step emit
        }
 
@@ -603,7 +603,7 @@ below::
                min_size 0
                max_size 10
                step take platter
-               step chooseleaf 0 type host
+               step chooseleaf firstn 0 type host
                step emit
        }
 
@@ -613,7 +613,7 @@ below::
                min_size 0
                max_size 10
                step take platter
-               step chooseleaf 0 type host
+               step chooseleaf firstn 0 type host
                step emit
        }
 
@@ -623,7 +623,7 @@ below::
                min_size 0
                max_size 10
                step take platter
-               step chooseleaf 0 type host
+               step chooseleaf firstn 0 type host
                step emit
        }
 
@@ -633,7 +633,7 @@ below::
                min_size 0
                max_size 10
                step take ssd
-               step chooseleaf 0 type host
+               step chooseleaf firstn 0 type host
                step emit
        }
 
@@ -643,10 +643,10 @@ below::
                min_size 0
                max_size 10
                step take ssd
-               step chooseleaf 1 type host
+               step chooseleaf firstn 1 type host
                step emit
                step take platter
-               step chooseleaf -1 type host
+               step chooseleaf firstn -1 type host
                step emit
        }