]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados: rewrite EC intro 48322/head
authorZac Dover <zac.dover@gmail.com>
Thu, 1 Sep 2022 19:08:00 +0000 (05:08 +1000)
committerZac Dover <zac.dover@gmail.com>
Sat, 1 Oct 2022 03:31:09 +0000 (13:31 +1000)
This PR rewrites the front matter in the "Erasure Code"
section of the RADOS documentation. Previously, the information
in this section was syntactically confused. I have also fleshed
out the distinction between erasure coding and replication.

Co-Author: Cole Mitchell <cole.mitchell@gmail.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
doc/rados/operations/erasure-code.rst

index ddbea214ba5dab7b03434b1579982496ef93a483..44473841121b1aee5e36bdbac3fdda849d908f1e 100644 (file)
@@ -4,12 +4,24 @@
  Erasure code
 =============
 
-A Ceph pool is associated to a type to sustain the loss of an OSD
-(i.e. a disk since most of the time there is one OSD per disk). The
-default choice when `creating a pool <../pools>`_ is *replicated*,
-meaning every object is copied on multiple disks. The `Erasure Code
-<https://en.wikipedia.org/wiki/Erasure_code>`_ pool type can be used
-instead to save space.
+By default, Ceph `pools <../pools>`_ are created with the type "replicated". In
+replicated-type pools, every object is copied to multiple disks (this
+multiple copying is the "replication").
+
+In contrast, `erasure-coded <https://en.wikipedia.org/wiki/Erasure_code>`_
+pools use a method of data protection that is different from replication. In
+erasure coding, data is broken into fragments of two kinds: data blocks and
+parity blocks. If a drive fails or becomes corrupted, the parity blocks are
+used to rebuild the data. At scale, erasure coding saves space relative to
+replication.
+
+In this documentation, data blocks are referred to as "data chunks"
+and parity blocks are referred to as "encoding chunks".
+
+Erasure codes are also called "forward error correction codes". The
+first forward error correction code was developed in 1950 by Richard
+Hamming at Bell Laboratories.
+
 
 Creating a sample erasure coded pool
 ------------------------------------