diff options
| author | Alex Elder <elder@inktank.com> | 2012-10-26 00:34:42 -0400 |
|---|---|---|
| committer | Alex Elder <elder@inktank.com> | 2012-11-01 08:55:42 -0400 |
| commit | 86b00e0da6be7bbc16412f126c5b548ac5d91d50 (patch) | |
| tree | 466c0dcecd75ca707f33b18265be969e385f366c /Documentation/ABI/testing | |
| parent | a92ffdf8a9b09f8fae9a8f418f87f30a5e459570 (diff) | |
rbd: get parent spec for version 2 images
Add support for getting the the information identifying the parent
image for rbd images that have them. The child image holds a
reference to its parent image specification structure. Create a new
entry "parent" in /sys/bus/rbd/image/N/ to report the identifying
information for the parent image, if any.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'Documentation/ABI/testing')
| -rw-r--r-- | Documentation/ABI/testing/sysfs-bus-rbd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-rbd b/Documentation/ABI/testing/sysfs-bus-rbd index 1cf2adf46b1..cd9213ccf3d 100644 --- a/Documentation/ABI/testing/sysfs-bus-rbd +++ b/Documentation/ABI/testing/sysfs-bus-rbd | |||
| @@ -70,6 +70,10 @@ snap_* | |||
| 70 | 70 | ||
| 71 | A directory per each snapshot | 71 | A directory per each snapshot |
| 72 | 72 | ||
| 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). | ||
| 73 | 77 | ||
| 74 | Entries under /sys/bus/rbd/devices/<dev-id>/snap_<snap-name> | 78 | Entries under /sys/bus/rbd/devices/<dev-id>/snap_<snap-name> |
| 75 | ------------------------------------------------------------- | 79 | ------------------------------------------------------------- |
