]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: get parent spec for version 2 images
authorAlex Elder <elder@inktank.com>
Fri, 26 Oct 2012 04:34:42 +0000 (23:34 -0500)
committerAlex Elder <elder@inktank.com>
Thu, 1 Nov 2012 12:55:42 +0000 (07:55 -0500)
commit0382c25347027d18db23fa54b37e5160e959d0f4
tree466c0dcecd75ca707f33b18265be969e385f366c
parent02d032cbec793c2769b708940d1c74c63eb657bd
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>
Documentation/ABI/testing/sysfs-bus-rbd
drivers/block/rbd.c
include/linux/ceph/rados.h