]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/erasure-code: fix couple typos 5198/head
authorKefu Chai <kchai@redhat.com>
Fri, 10 Jul 2015 17:47:14 +0000 (01:47 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 10 Jul 2015 17:47:48 +0000 (01:47 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/rados/operations/erasure-code-lrc.rst
doc/rados/operations/erasure-code.rst

index 112abfa868b810614a83edc770713ddbdb85df56..3c9b269185a3a1552ead71071339850efcf90d15 100644 (file)
@@ -168,7 +168,7 @@ For instance, when three coding steps are described as::
 
 where *c* are coding chunks calculated from the data chunks *D*, the
 loss of chunk *7* can be recovered with the last four chunks. And the
-loss of chun *2* chunk can be recovered with the first four
+loss of chunk *2* chunk can be recovered with the first four
 chunks.
 
 Erasure code profile examples using low level configuration
@@ -272,7 +272,7 @@ are applied in order. For instance, if a 4K object is encoded, it will
 first go thru *step 1* and be divided in four 1K chunks (the four
 uppercase D). They are stored in the chunks 2, 3, 6 and 7, in
 order. From these, two coding chunks are calculated (the two lowercase
-c). The coding chunks are stored in the chunks 1 and 4, respectively.
+c). The coding chunks are stored in the chunks 1 and 5, respectively.
 
 The *step 2* re-uses the content created by *step 1* in a similar
 fashion and stores a single coding chunk *c* at position 0. The last four
@@ -300,7 +300,7 @@ The coding chunk from *step 2*, stored in chunk *0*, allows it to
 recover the content of chunk *2*. There are no more chunks to recover
 and the process stops, without considering *step 1*.
 
-Recovering chunk *2* required reading chunks *0, 1, 3* and writing
+Recovering chunk *2* requires reading chunks *0, 1, 3* and writing
 back chunk *2*.
 
 If chunk *2, 3, 6* are lost::
@@ -311,7 +311,7 @@ If chunk *2, 3, 6* are lost::
    step 2      cD  __ _
    step 3      __  cD D
 
-The *step 3* can recover the conten of chunk *6*::
+The *step 3* can recover the content of chunk *6*::
 
    chunk nr    01234567
 
@@ -355,6 +355,6 @@ For instance::
 
 will create a ruleset that will select two crush buckets of type
 *rack* and for each of them choose four OSDs, each of them located in
-different bucket of type *host*.
+different buckets of type *host*.
 
 The ruleset can also be manually crafted for finer control.
index 81d5e7b59852114c3cbabb07a1909c659223ccb7..b55cd6312134a4ec0f250076893cac40c0259992 100644 (file)
@@ -55,7 +55,7 @@ the following profile can be defined::
        k=3 \
        m=2 \
        ruleset-failure-domain=rack
-    $ ceph osd pool create ecpool 12 12 erasure *myprofile*
+    $ ceph osd pool create ecpool 12 12 erasure myprofile
     $ echo ABCDEFGHI | rados --pool ecpool put NYAN -
     $ rados --pool ecpool get NYAN -
     ABCDEFGHI