diff mbox

[3/3] rbd: document rbd-specific options

Message ID 1386112373-25610-4-git-send-email-josh.durgin@inktank.com (mailing list archive)
State New, archived
Headers show

Commit Message

Josh Durgin Dec. 3, 2013, 11:12 p.m. UTC
osd_full_behavior only affects rbd, so document it along with
read-only and read-write.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
---
 Documentation/ABI/testing/sysfs-bus-rbd |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
diff mbox

Patch

diff --git a/Documentation/ABI/testing/sysfs-bus-rbd b/Documentation/ABI/testing/sysfs-bus-rbd
index 0a30647..15f3ba6 100644
--- a/Documentation/ABI/testing/sysfs-bus-rbd
+++ b/Documentation/ABI/testing/sysfs-bus-rbd
@@ -18,6 +18,25 @@  Removal of a device:
 
   $ echo <dev-id> > /sys/bus/rbd/remove
 
+Options
+-------
+
+read_only/ro
+
+	The mapped device will only handle reads. This is the default for
+	snapshots.
+
+read_write/rw
+
+	The mapped device will handle reads and writes. This is invalid
+	for snapshots.
+
+osd_full_behavior
+
+	Choose how to handle writes to a full ceph cluster. Options are
+	"block" to pause I/O until there is space (the default), or
+	"error", to return an I/O error.
+
 Entries under /sys/bus/rbd/devices/<dev-id>/
 --------------------------------------------