aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2016-08-18 12:38:43 -0400
committerIlya Dryomov <idryomov@gmail.com>2016-08-24 17:49:16 -0400
commit005a07bf0a92e7f0e73fc9a6c9acc992c5dbd00c (patch)
tree4b8eb1b877b4d2c50934bef8e2df402d0893dcfc /include/linux/ceph
parentca7909e8bbb4ddc549fa1e8afa695f147bb6358c (diff)
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>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r--include/linux/ceph/libceph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h
index b4cffff70e44..1816c5e26581 100644
--- a/include/linux/ceph/libceph.h
+++ b/include/linux/ceph/libceph.h
@@ -264,6 +264,7 @@ extern struct ceph_client *ceph_create_client(struct ceph_options *opt,
264 void *private, 264 void *private,
265 u64 supported_features, 265 u64 supported_features,
266 u64 required_features); 266 u64 required_features);
267struct ceph_entity_addr *ceph_client_addr(struct ceph_client *client);
267u64 ceph_client_gid(struct ceph_client *client); 268u64 ceph_client_gid(struct ceph_client *client);
268extern void ceph_destroy_client(struct ceph_client *client); 269extern void ceph_destroy_client(struct ceph_client *client);
269extern int __ceph_open_session(struct ceph_client *client, 270extern int __ceph_open_session(struct ceph_client *client,