aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-10-07 17:38:18 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-07 17:38:18 -0400
commit7035cdf36d5c4d913f68ff97e1c2e5603500d946 (patch)
treeeee5680c16771cb23bc6d3a47bc7b6f350171b22 /Documentation/ABI
parent6432f2128414edbea5fd4f6c4fa4c28d0e1c6151 (diff)
parent6285bc231277419255f3498d3eb5ddc9f8e7fe79 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client
Pull ceph updates from Sage Weil: "The bulk of this pull is a series from Alex that refactors and cleans up the RBD code to lay the groundwork for supporting the new image format and evolving feature set. There are also some cleanups in libceph, and for ceph there's fixed validation of file striping layouts and a bugfix in the code handling a shrinking MDS cluster." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client: (71 commits) ceph: avoid 32-bit page index overflow ceph: return EIO on invalid layout on GET_DATALOC ioctl rbd: BUG on invalid layout ceph: propagate layout error on osd request creation libceph: check for invalid mapping ceph: convert to use le32_add_cpu() ceph: Fix oops when handling mdsmap that decreases max_mds rbd: update remaining header fields for v2 rbd: get snapshot name for a v2 image rbd: get the snapshot context for a v2 image rbd: get image features for a v2 image rbd: get the object prefix for a v2 rbd image rbd: add code to get the size of a v2 rbd image rbd: lay out header probe infrastructure rbd: encapsulate code that gets snapshot info rbd: add an rbd features field rbd: don't use index in __rbd_add_snap_dev() rbd: kill create_snap sysfs entry rbd: define rbd_dev_image_id() rbd: define some new format constants ...
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-rbd18
1 files changed, 12 insertions, 6 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-rbd b/Documentation/ABI/testing/sysfs-bus-rbd
index 3c17b62899f..1cf2adf46b1 100644
--- a/Documentation/ABI/testing/sysfs-bus-rbd
+++ b/Documentation/ABI/testing/sysfs-bus-rbd
@@ -25,6 +25,10 @@ client_id
25 25
26 The ceph unique client id that was assigned for this specific session. 26 The ceph unique client id that was assigned for this specific session.
27 27
28features
29
30 A hexadecimal encoding of the feature bits for this image.
31
28major 32major
29 33
30 The block device major number. 34 The block device major number.
@@ -33,6 +37,11 @@ name
33 37
34 The name of the rbd image. 38 The name of the rbd image.
35 39
40image_id
41
42 The unique id for the rbd image. (For rbd image format 1
43 this is empty.)
44
36pool 45pool
37 46
38 The name of the storage pool where this rbd image resides. 47 The name of the storage pool where this rbd image resides.
@@ -57,12 +66,6 @@ current_snap
57 66
58 The current snapshot for which the device is mapped. 67 The current snapshot for which the device is mapped.
59 68
60create_snap
61
62 Create a snapshot:
63
64 $ echo <snap-name> > /sys/bus/rbd/devices/<dev-id>/snap_create
65
66snap_* 69snap_*
67 70
68 A directory per each snapshot 71 A directory per each snapshot
@@ -79,4 +82,7 @@ snap_size
79 82
80 The size of the image when this snapshot was taken. 83 The size of the image when this snapshot was taken.
81 84
85snap_features
86
87 A hexadecimal encoding of the feature bits for this snapshot.
82 88