diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-07-22 19:53:07 +0200 |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-07-25 11:14:27 +0200 |
commit | ff96128fb020e26e7b32e12e887013956d840f08 (patch) | |
tree | de3cc9d00b9979a2317c9a7d380d1b1f6e3dec66 /Documentation/ABI/testing/sysfs-bus-rbd | |
parent | ceph: replace comma with a semicolon (diff) | |
download | linux-ff96128fb020e26e7b32e12e887013956d840f08.tar.xz 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/ABI/testing/sysfs-bus-rbd')
-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. |