]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: add "--timeout" option to rbd-nbd 24302/head
authorStefan Kooman <stefan@bit.nl>
Thu, 27 Sep 2018 12:11:05 +0000 (14:11 +0200)
committerStefan Kooman <stefan@bit.nl>
Fri, 28 Sep 2018 17:39:10 +0000 (19:39 +0200)
Fixes: https://tracker.ceph.com/issues/22333
Signed-off-by: Stefan Kooman <stefan@bit.nl>
doc/man/8/rbd-nbd.rst

index bb20a4d1ebca8fdca15bf1ae4abafef5dbedb5e1..df278a70d8ba968dd43d4f2ff6a5200268d8a589 100644 (file)
@@ -9,7 +9,7 @@
 Synopsis
 ========
 
-| **rbd-nbd** [-c conf] [--read-only] [--device *nbd device*] [--nbds_max *limit*] [--max_part *limit*] [--exclusive] map *image-spec* | *snap-spec*
+| **rbd-nbd** [-c conf] [--read-only] [--device *nbd device*] [--nbds_max *limit*] [--max_part *limit*] [--exclusive] [--timeout *seconds*] map *image-spec* | *snap-spec*
 | **rbd-nbd** unmap *nbd device*
 | **rbd-nbd** list-mapped
 
@@ -45,6 +45,11 @@ Options
 
    Forbid writes by other clients.
 
+.. option:: --timeout *seconds*
+
+   Override device timeout. Linux kernel will default to a 30 second request timeout.
+   Allow the user to optionally specify an alternate timeout.
+
 Image and snap specs
 ====================