rbd: add 'config_info' sysfs rbd device attribute
authorMike Christie <mchristi@redhat.com>
Thu, 18 Aug 2016 16:38:45 +0000 (18:38 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 24 Aug 2016 21:49:17 +0000 (23:49 +0200)
commit0d6d1e9c2e970c26e8a1ec4932ffffacec90e0b4
tree7d2ae745b2d2c9327864d7986dc840173139465a
parent92a58671549f365a962517cc7cccb624dea8581e
rbd: add 'config_info' sysfs rbd device attribute

Export the info used to setup the rbd image, so it can be used to remap
the image.

Signed-off-by: Mike Christie <mchristi@redhat.com>
[idryomov@gmail.com: do_rbd_add() EH]
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Documentation/ABI/testing/sysfs-bus-rbd
drivers/block/rbd.c