From: Loic Dachary Date: Sat, 29 Mar 2014 10:29:22 +0000 (+0100) Subject: doc: update jerasure plugin X-Git-Tag: v0.79~47^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d5973aaf7e07014123fe148aef3f7ee35573adfe;p=ceph.git doc: update jerasure plugin * The parameters come from the erasure code profile * Add a note about the upstream submodules gf-complete / jerasure Signed-off-by: Loic Dachary --- diff --git a/doc/dev/osd_internals/erasure_coding/jerasure.rst b/doc/dev/osd_internals/erasure_coding/jerasure.rst index 312eac52e5d8..af7631c16f11 100644 --- a/doc/dev/osd_internals/erasure_coding/jerasure.rst +++ b/doc/dev/osd_internals/erasure_coding/jerasure.rst @@ -9,14 +9,25 @@ The parameters interpreted by the jerasure plugin are: :: - ceph osd pool create \ - erasure-code-directory= \ # plugin directory absolute path - erasure-code-plugin=jerasure \ # plugin name (only jerasure) - erasure-code-k= \ # data chunks (default 2) - erasure-code-m= \ # coding chunks (default 2) - erasure-code-technique= \ # coding technique + ceph osd erasure-code-profile set myprofile \ + directory= \ # plugin directory absolute path + plugin=jerasure \ # plugin name (only jerasure) + k= \ # data chunks (default 2) + m= \ # coding chunks (default 2) + technique= \ # coding technique The coding techniques can be chosen among *reed_sol_van*, *reed_sol_r6_op*, *cauchy_orig*, *cauchy_good*, *liberation*, *blaum_roth* and *liber8tion*. +The *src/erasure-code/jerasure* directory contains the +implementation. It is a wrapper around the code found at +`https://github.com/ceph/jerasure `_ +and `https://github.com/ceph/gf-complete +`_ , pinned to the latest stable +version in *.gitmodules*. These repositories are copies of the +upstream repositories `https://bitbucket.org/jimplank/jerasure +`_ and +`https://bitbucket.org/jimplank/gf-complete +`_ . The difference +between the two, if any, should match pull requests against upstream.