]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados/operations: Clarify stretch mode vs device class 62077/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:18 +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 7a4fa46117dbd8830dc25104333c31fa2f944a68..f9b14dce11ab58fd7bbd3fc1a75367d5b1f91b4b 100644 (file)
@@ -335,16 +335,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
@@ -353,7 +353,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
 ==============