]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rbd/rbd-config-ref: add clone settings section 66172/head
authorIlya Dryomov <idryomov@gmail.com>
Fri, 7 Nov 2025 19:05:22 +0000 (20:05 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 7 Nov 2025 19:57:19 +0000 (20:57 +0100)
Expose rbd_default_clone_format option which has a fairly comprehensive
description (much more verbose than most other options, anyway).  This
should help with understanding the difference between clone v1 and v2.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
doc/rbd/rbd-config-ref.rst
src/common/options/rbd.yaml.in

index c21731adca8a925154da272ba77a7af03737dc1b..d6d5b68c57a0cfd6537b17accdfe0de14288dd02 100644 (file)
@@ -212,6 +212,11 @@ creating images or the default features can be configured via
 :KRBD support: no
 
 
+Clone Settings
+==============
+
+.. confval:: rbd_default_clone_format
+
 QoS Settings
 ============
 
index a86a2e97304628d572e4a6085f4c9961ceb3775b..b12e2edc44e96c709fdf8b97198e0d459500f66e 100644 (file)
@@ -514,12 +514,12 @@ options:
   type: str
   level: advanced
   desc: default internal format for handling clones
-  long_desc: This sets the internal format for tracking cloned images. The setting
-    of '1' requires attaching to protected snapshots that cannot be removed until
-    the clone is removed/flattened. The setting of '2' will allow clones to be attached
+  long_desc: This sets the internal format for tracking cloned images. The value
+    of ``1`` requires attaching to protected snapshots that cannot be removed until
+    the clone is removed or flattened. The value of ``2`` will allow clones to be attached
     to any snapshot and permits removing in-use parent snapshots but requires Mimic
-    or later clients. The default setting of 'auto' will use the v2 format if the
-    cluster is configured to require mimic or later clients.
+    or later clients. The default value of ``auto`` will use the v2 format if the
+    cluster is configured to require Mimic or later clients.
   default: auto
   services:
   - rbd