diff options
| author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
|---|---|---|
| committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
| commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
| tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /Documentation/ABI/testing/sysfs-bus-rbd | |
| parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) | |
Patched in Tegra support.
Diffstat (limited to 'Documentation/ABI/testing/sysfs-bus-rbd')
| -rw-r--r-- | Documentation/ABI/testing/sysfs-bus-rbd | 43 |
1 files changed, 17 insertions, 26 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-rbd b/Documentation/ABI/testing/sysfs-bus-rbd index cd9213ccf3d..fa72ccb2282 100644 --- a/Documentation/ABI/testing/sysfs-bus-rbd +++ b/Documentation/ABI/testing/sysfs-bus-rbd | |||
| @@ -25,10 +25,6 @@ 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 | |||
| 32 | major | 28 | major |
| 33 | 29 | ||
| 34 | The block device major number. | 30 | The block device major number. |
| @@ -37,21 +33,10 @@ name | |||
| 37 | 33 | ||
| 38 | The name of the rbd image. | 34 | The name of the rbd image. |
| 39 | 35 | ||
| 40 | image_id | ||
| 41 | |||
| 42 | The unique id for the rbd image. (For rbd image format 1 | ||
| 43 | this is empty.) | ||
| 44 | |||
| 45 | pool | 36 | pool |
| 46 | 37 | ||
| 47 | The name of the storage pool where this rbd image resides. | 38 | The pool where this rbd image resides. The pool-name pair is unique |
| 48 | An rbd image name is unique within its pool. | 39 | per rados system. |
| 49 | |||
| 50 | pool_id | ||
| 51 | |||
| 52 | The unique identifier for the rbd image's pool. This is | ||
| 53 | a permanent attribute of the pool. A pool's id will never | ||
| 54 | change. | ||
| 55 | 40 | ||
| 56 | size | 41 | size |
| 57 | 42 | ||
| @@ -66,27 +51,33 @@ current_snap | |||
| 66 | 51 | ||
| 67 | The current snapshot for which the device is mapped. | 52 | The current snapshot for which the device is mapped. |
| 68 | 53 | ||
| 54 | create_snap | ||
| 55 | |||
| 56 | Create a snapshot: | ||
| 57 | |||
| 58 | $ echo <snap-name> > /sys/bus/rbd/devices/<dev-id>/snap_create | ||
| 59 | |||
| 60 | rollback_snap | ||
| 61 | |||
| 62 | Rolls back data to the specified snapshot. This goes over the entire | ||
| 63 | list of rados blocks and sends a rollback command to each. | ||
| 64 | |||
| 65 | $ echo <snap-name> > /sys/bus/rbd/devices/<dev-id>/snap_rollback | ||
| 66 | |||
| 69 | snap_* | 67 | snap_* |
| 70 | 68 | ||
| 71 | A directory per each snapshot | 69 | A directory per each snapshot |
| 72 | 70 | ||
| 73 | parent | ||
| 74 | |||
| 75 | Information identifying the pool, image, and snapshot id for | ||
| 76 | the parent image in a layered rbd image (format 2 only). | ||
| 77 | 71 | ||
| 78 | Entries under /sys/bus/rbd/devices/<dev-id>/snap_<snap-name> | 72 | Entries under /sys/bus/rbd/devices/<dev-id>/snap_<snap-name> |
| 79 | ------------------------------------------------------------- | 73 | ------------------------------------------------------------- |
| 80 | 74 | ||
| 81 | snap_id | 75 | id |
| 82 | 76 | ||
| 83 | The rados internal snapshot id assigned for this snapshot | 77 | The rados internal snapshot id assigned for this snapshot |
| 84 | 78 | ||
| 85 | snap_size | 79 | size |
| 86 | 80 | ||
| 87 | The size of the image when this snapshot was taken. | 81 | The size of the image when this snapshot was taken. |
| 88 | 82 | ||
| 89 | snap_features | ||
| 90 | |||
| 91 | A hexadecimal encoding of the feature bits for this snapshot. | ||
| 92 | 83 | ||
