From: Loic Dachary Date: Sat, 13 Sep 2014 22:54:40 +0000 (+0200) Subject: documentation: erasure code profile update X-Git-Tag: v0.88~183^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=75f0fb2693fd5b1beda32cbd532efbe873b26d1f;p=ceph.git documentation: erasure code profile update The plugins are made a sub-section of the erasure code profile section. The k and m parameters are removed from erasure code profile documentation. They were added for simplicity in the first version because there was only one plugin. But they should really be in the plugin documentation. Signed-off-by: Loic Dachary --- diff --git a/doc/rados/operations/erasure-code-profile.rst b/doc/rados/operations/erasure-code-profile.rst index b8630346f0b..fdc6e57e975 100644 --- a/doc/rados/operations/erasure-code-profile.rst +++ b/doc/rados/operations/erasure-code-profile.rst @@ -21,14 +21,21 @@ same size as the data chunk, i.e. 1MB). The raw space overhead is only 40% and the object will not be lost even if four OSDs break at the same time. +.. _list of available plugins: + +.. toctree:: + :maxdepth: 1 + + erasure-code-jerasure + erasure-code-isa + erasure-code-lrc + osd erasure-code-profile set ============================ To create a new erasure code profile:: ceph osd erasure-code-profile set {name} \ - [{k=data-chunks}] \ - [{m=coding-chunks}] \ [{directory=directory}] \ [{plugin=plugin}] \ [{key=value} ...] \ @@ -36,25 +43,6 @@ To create a new erasure code profile:: Where: -``{k=data-chunks}`` - -:Description: Each object is split in **data-chunks** parts, - each stored on a different OSD. - -:Type: Integer -:Required: No. -:Default: 2 - -``{m=coding-chunks}`` - -:Description: Compute **coding chunks** for each object and store them - on different OSDs. The number of coding chunks is also - the number of OSDs that can be down without losing data. - -:Type: Integer -:Required: No. -:Default: 1 - ``{directory=directory}`` :Description: Set the **directory** name from which the erasure code @@ -67,7 +55,8 @@ Where: ``{plugin=plugin}`` :Description: Use the erasure code **plugin** to compute coding chunks - and recover missing chunks. + and recover missing chunks. See the `list of available + plugins`_ for more information. :Type: String :Required: No. diff --git a/doc/rados/operations/index.rst b/doc/rados/operations/index.rst index bfade46c1f9..609cc4a92c3 100644 --- a/doc/rados/operations/index.rst +++ b/doc/rados/operations/index.rst @@ -33,7 +33,6 @@ CRUSH algorithm. data-placement pools erasure-code-profile - erasure-code-lrc cache-tiering placement-groups crush-map diff --git a/doc/rados/operations/pools.rst b/doc/rados/operations/pools.rst index 5fb740ef16a..522bdd0a9db 100644 --- a/doc/rados/operations/pools.rst +++ b/doc/rados/operations/pools.rst @@ -123,7 +123,9 @@ Where: ``[erasure-code-profile=profile]`` -:Description: For **erasure** pools only. Use the erasure code **profile**. It +.. _erasure code profile: ../erasure-code-profile + +:Description: For **erasure** pools only. Use the `erasure code profile`_. It must be an existing profile as defined by **osd erasure-code-profile set**.