From d6cfb659991bae013d4b54cf60e7b6767b126eaa Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Sun, 4 Dec 2022 01:57:13 +1000 Subject: [PATCH] doc/rados: add prompts to erasure-code-shec.rst Add unselectable prompts to doc/rados/operations/erasure-code-shec.rst. https://tracker.ceph.com/issues/57108 Signed-off-by: Zac Dover --- doc/rados/operations/erasure-code-shec.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/rados/operations/erasure-code-shec.rst b/doc/rados/operations/erasure-code-shec.rst index b2157f780dd7c..4e8f59b0b54ba 100644 --- a/doc/rados/operations/erasure-code-shec.rst +++ b/doc/rados/operations/erasure-code-shec.rst @@ -9,7 +9,9 @@ library. It allows ceph to recover data more efficiently than Reed Solomon codes Create an SHEC profile ====================== -To create a new *shec* erasure code profile:: +To create a new *shec* erasure code profile: + +.. prompt:: bash $ ceph osd erasure-code-profile set {name} \ plugin=shec \ @@ -133,10 +135,11 @@ but at least increasing m without increasing c achieves improvement of recovery Erasure code profile examples ============================= -:: - $ ceph osd erasure-code-profile set SHECprofile \ +.. prompt:: bash $ + + ceph osd erasure-code-profile set SHECprofile \ plugin=shec \ k=8 m=4 c=3 \ crush-failure-domain=host - $ ceph osd pool create shecpool erasure SHECprofile + ceph osd pool create shecpool erasure SHECprofile -- 2.39.5