]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados: add prompts to erasure-code-jerasure.rst 49210/head
authorZac Dover <zac.dover@gmail.com>
Fri, 2 Dec 2022 16:27:59 +0000 (02:27 +1000)
committerZac Dover <zac.dover@gmail.com>
Sat, 3 Dec 2022 03:10:48 +0000 (13:10 +1000)
Add unselectable prompts to
doc/rados/operations/erasure-code-jerasure.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit a35d344f0a8f6bf3e556edfba7639b8d9e4cbbca)

doc/rados/operations/erasure-code-jerasure.rst

index 878bcac5cb633b4c441e81365694a1774bfd1319..553afa09d27e2d7eab5d8db46a9c850bc26ee650 100644 (file)
@@ -13,18 +13,20 @@ understanding of the parameters.
 Create a jerasure profile
 =========================
 
-To create a new *jerasure* erasure code profile::
-
-        ceph osd erasure-code-profile set {name} \
-             plugin=jerasure \
-             k={data-chunks} \
-             m={coding-chunks} \
-             technique={reed_sol_van|reed_sol_r6_op|cauchy_orig|cauchy_good|liberation|blaum_roth|liber8tion} \
-             [crush-root={root}] \
-             [crush-failure-domain={bucket-type}] \
-             [crush-device-class={device-class}] \
-             [directory={directory}] \
-             [--force]
+To create a new *jerasure* erasure code profile:
+.. prompt:: bash $
+
+   ceph osd erasure-code-profile set {name} \
+     plugin=jerasure \
+     k={data-chunks} \
+     m={coding-chunks} \
+     technique={reed_sol_van|reed_sol_r6_op|cauchy_orig|cauchy_good|liberation|blaum_roth|liber8tion} \
+     [crush-root={root}] \
+     [crush-failure-domain={bucket-type}] \
+     [crush-device-class={device-class}] \
+     [directory={directory}] \
+     [--force]
 
 Where: