]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: added rbd default features 24720/head
authorGaurav Sitlani <gauravsitlani@riseup.net>
Tue, 23 Oct 2018 17:37:20 +0000 (23:07 +0530)
committerGaurav Sitlani <gauravsitlani@riseup.net>
Thu, 25 Oct 2018 19:42:31 +0000 (01:12 +0530)
Fixes: https://tracker.ceph.com/issues/15000
Added RBD default features description

Signed-off-by: Gaurav Sitlani <gauravsitlani@riseup.net>
doc/rbd/index.rst
doc/rbd/rbd-config-ref.rst

index 5bde3378ad381891626a201932e02ab46f30cf54..7fc91494853cb3be467a023e0d9b4138ba74e480 100644 (file)
@@ -48,7 +48,7 @@ to operate the :ref:`Ceph RADOS Gateway <object-gateway>`, the
        LIO iSCSI Gateway <iscsi-overview>
        QEMU <qemu-rbd>
        libvirt <libvirt>
-       Cache Settings <rbd-config-ref/>
+       librbd Settings <rbd-config-ref/>
        OpenStack <rbd-openstack>
        CloudStack <rbd-cloudstack>
        RBD Replay <rbd-replay>
index db942f88c786b251884e275847679de73faded08..5809e3e071f82689d7522345f5b0d083a01b9380 100644 (file)
@@ -134,3 +134,54 @@ Read-ahead is automatically disabled if caching is disabled.
 :Type: 64-bit Integer
 :Required: No
 :Default: ``50 MiB``
+
+
+RBD Default Features
+====================
+
+RBD supports advanced features which can be specified via the command line when creating images or the default features can be specified via Ceph config file via 'rbd_default_features = <sum of feature numeric values>' or 'rbd_default_features = <comma-delimited list of CLI values>'
+
+``Layering``
+
+:Description: Layering enables you to use cloning.
+:Internal value: 1
+:CLI value: layering
+
+``Striping v2``
+
+:Description: Striping spreads data across multiple objects. Striping helps with parallelism for sequential read/write workloads.
+:Internal value: 2
+:CLI value: striping
+
+``Exclusive locking``
+
+:Description: When enabled, it requires a client to get a lock on an object before making a write. Exclusive lock should only be enabled when a single client is accessing an image at the same time. 
+:Internal value: 4
+:CLI value: exclusive-lock
+
+``Object map``
+
+:Description: Object map support depends on exclusive lock support. Block devices are thin provisioned—meaning, they only store data that actually exists. Object map support helps track which objects actually exist (have data stored on a drive). Enabling object map support speeds up I/O operations for cloning; importing and exporting a sparsely populated image; and deleting.
+:Internal value: 8
+:CLI value: object-map
+
+
+``Fast-diff``
+
+:Description: Fast-diff support depends on object map support and exclusive lock support. It adds another property to the object map, which makes it much faster to generate diffs between snapshots of an image, and the actual data usage of a snapshot much faster.
+:Internal value: 16
+:CLI value: fast-diff
+
+
+``Deep-flatten``
+
+:Description: Deep-flatten makes rbd flatten work on all the snapshots of an image, in addition to the image itself. Without it, snapshots of an image will still rely on the parent, so the parent will not be delete-able until the snapshots are deleted. Deep-flatten makes a parent independent of its clones, even if they have snapshots.
+:Internal value: 32
+:CLI value: deep-flatten
+
+
+``Journaling``
+
+:Description: Journaling support depends on exclusive lock support. Journaling records all modifications to an image in the order they occur. RBD mirroring utilizes the journal to replicate a crash consistent image to a remote cluster.
+:Internal value: 64
+:CLI value: journaling