@@ -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>/
--------------------------------------------
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(+)