diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-07-22 21:53:07 +0400 |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-07-25 13:14:27 +0400 |
commit | ff96128fb020e26e7b32e12e887013956d840f08 (patch) | |
tree | de3cc9d00b9979a2317c9a7d380d1b1f6e3dec66 /Documentation | |
parent | 08a0f24e4c62e7dd6b8486903177c1c451819f01 (diff) | |
download | blackbird-op-linux-ff96128fb020e26e7b32e12e887013956d840f08.tar.gz blackbird-op-linux-ff96128fb020e26e7b32e12e887013956d840f08.zip |
rbd: show the entire chain of parent images
Make /sys/bus/rbd/devices/<id>/parent show the entire chain of parent
images. While at it, kernel sprintf() doesn't return negative values,
casting to unsigned long long is no longer necessary and there is no
good reason to split into multiple sprintf() calls.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-rbd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-rbd b/Documentation/ABI/testing/sysfs-bus-rbd index 501adc2a9ec7..2ddd680929d8 100644 --- a/Documentation/ABI/testing/sysfs-bus-rbd +++ b/Documentation/ABI/testing/sysfs-bus-rbd @@ -94,5 +94,5 @@ current_snap parent - Information identifying the pool, image, and snapshot id for - the parent image in a layered rbd image (format 2 only). + Information identifying the chain of parent images in a layered rbd + image. Entries are separated by empty lines. |