]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados/operations: Clarify stretch mode vs device class 62078/head
authorAnthony D'Atri <anthonyeleven@users.noreply.github.com>
Sun, 2 Mar 2025 15:43:18 +0000 (10:43 -0500)
committerZac Dover <zac.dover@proton.me>
Sun, 2 Mar 2025 20:53:23 +0000 (06:53 +1000)
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 75be0272e8469ed214302b8f354bed675cdcaed6)

doc/rados/operations/stretch-mode.rst

index 37c1de14b838c442305299aa6309a5430e3c2a10..b999f1894214452069c43e8d738ba8ae8e0ecfbb 100644 (file)
@@ -256,16 +256,16 @@ a CRUSH rule is given above.
 
 Because stretch mode runs with ``min_size`` set to ``1`` (or, more directly,
 ``min_size 1``), we recommend enabling stretch mode only when using OSDs on
-SSDs (including NVMe OSDs). Hybrid HDD+SDD or HDD-only OSDs are not recommended
+SSDs. Hybrid HDD+SSD or HDD-only OSDs are not recommended
 due to the long time it takes for them to recover after connectivity between
 data centers has been restored. This reduces the potential for data loss.
 
-.. warning:: Device class is currently not supported in stretch mode.
-   For example, the following rule containing ``device class`` will not work::
+.. warning:: CRUSH rules that specify a device class are not supported in stretch mode.
+   For example, the following rule specifying the ``ssd`` device class will not work::
 
       rule stretch_replicated_rule {
                  id 2
-                 type replicated class hdd
+                 type replicated class ssd
                  step take default
                  step choose firstn 0 type datacenter
                  step chooseleaf firstn 2 type host
@@ -274,7 +274,7 @@ data centers has been restored. This reduces the potential for data loss.
 
 In the future, stretch mode could support erasure-coded pools,
 enable deployments across multiple data centers,
-and accommodate various device classes.
+and accommodate multiple CRUSH device classes.
 
 Other commands
 ==============