diff options
author | Alex Elder <elder@inktank.com> | 2012-07-13 21:35:12 -0400 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-10-01 15:30:53 -0400 |
commit | 34b131849feb359f183907b467e9aa4d652b1baa (patch) | |
tree | 9b2d05e1eb17949ee642fb7893cd36f3c478d9db /Documentation | |
parent | c8d184250d8a47b1a958affcffe3ffdd85644301 (diff) |
rbd: add an rbd features field
Record the features values for each rbd image and each of its
snapshots. This is really something that only becomes meaningful
for version 2 images, so this is just putting in place code
that will form common infrastructure.
It may be useful to expand the sysfs entries--and therefore the
information we maintain--for the image and for each snapshot.
But I'm going to hold off doing that until we start making
active use of the feature bits.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-rbd | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-rbd b/Documentation/ABI/testing/sysfs-bus-rbd index 6fe4224cc5bd..1cf2adf46b11 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 | ||
28 | features | ||
29 | |||
30 | A hexadecimal encoding of the feature bits for this image. | ||
31 | |||
28 | major | 32 | major |
29 | 33 | ||
30 | The block device major number. | 34 | The block device major number. |
@@ -78,4 +82,7 @@ snap_size | |||
78 | 82 | ||
79 | The size of the image when this snapshot was taken. | 83 | The size of the image when this snapshot was taken. |
80 | 84 | ||
85 | snap_features | ||
86 | |||
87 | A hexadecimal encoding of the feature bits for this snapshot. | ||
81 | 88 | ||