summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorJason Dillaman <dillaman@redhat.com>2015-03-12 17:10:32 +0100
committerJason Dillaman <dillaman@redhat.com>2015-04-06 19:14:35 +0200
commit3a7b28d9a2de365d515ea1380ee9e4f867504e10 (patch)
tree9263aa7fbbc5f4d898a013d3e8fc623bd357bd54 /man
parenttests: add update_features test to test_librbd (diff)
downloadceph-3a7b28d9a2de365d515ea1380ee9e4f867504e10.tar.xz
ceph-3a7b28d9a2de365d515ea1380ee9e4f867504e10.zip
rbd: add feature enable/disable support
Mutable image features can now be enabled/disabled via the rbd CLI. Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'man')
-rw-r--r--man/8/rbd.rst24
1 files changed, 16 insertions, 8 deletions
diff --git a/man/8/rbd.rst b/man/8/rbd.rst
index c33593e95d6..9e9aea0e483 100644
--- a/man/8/rbd.rst
+++ b/man/8/rbd.rst
@@ -123,16 +123,16 @@ Parameters
Map the image read-only. Equivalent to -o ro.
-.. option:: --image-features features
+.. option:: --image-feature feature
- Specifies which RBD format 2 features are to be enabled when creating
- an image. The numbers from the desired features below should be added
- to compute the parameter value:
+ Specifies which RBD format 2 feature should be enabled when creating
+ an image. Multiple features can be enabled by repeating this option
+ multiple times. The following features are supported:
- +1: layering support
- +2: striping v2 support
- +4: exclusive locking support
- +8: object map support
+ layering: layering support
+ striping: striping v2 support
+ exclusive-lock: exclusive locking support
+ object-map: object map support (requires exclusive-lock)
.. option:: --image-shared
@@ -294,6 +294,14 @@ Commands
:command:`status` [*image-name*]
Show the status of the image, including which clients have it open.
+:command:`feature` disable [*image-name*] [*feature*]
+ Disables the specified feature on the specified image. Multiple features can
+ be specified.
+
+:command:`feature` enable [*image-name*] [*feature*]
+ Enables the specified feature on the specified image. Multiple features can
+ be specified.
+
:command:`lock` list [*image-name*]
Show locks held on the image. The first column is the locker
to use with the `lock remove` command.