rbd: add 'client_addr' sysfs rbd device attribute
authorIlya Dryomov <idryomov@gmail.com>
Thu, 18 Aug 2016 16:38:43 +0000 (18:38 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 24 Aug 2016 21:49:16 +0000 (23:49 +0200)
commit005a07bf0a92e7f0e73fc9a6c9acc992c5dbd00c
tree4b8eb1b877b4d2c50934bef8e2df402d0893dcfc
parentca7909e8bbb4ddc549fa1e8afa695f147bb6358c
rbd: add 'client_addr' sysfs rbd device attribute

Export client addr/nonce, so userspace can check if a image is being
blacklisted.

Signed-off-by: Mike Christie <mchristi@redhat.com>
[idryomov@gmail.com: ceph_client_addr(), endianess fix]
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Documentation/ABI/testing/sysfs-bus-rbd
drivers/block/rbd.c
include/linux/ceph/libceph.h
net/ceph/ceph_common.c