aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph/libceph.h
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2019-07-25 08:16:39 -0400
committerIlya Dryomov <idryomov@gmail.com>2019-09-16 06:06:23 -0400
commit120a75ea9f4ba02f852171e75d44f29139b9c83e (patch)
tree6944f51971e6adea422725866c0e81e5249ebc18 /include/linux/ceph/libceph.h
parente09580b343aa117fd07c1bb7f7dfc5bc630a2953 (diff)
libceph: add function that reset client's entity addr
This function also re-open connections to OSD/MON, and re-send in-flight OSD requests after re-opening connections to OSD. Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'include/linux/ceph/libceph.h')
-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 82156da3c650..b9dbda1c26aa 100644
--- a/include/linux/ceph/libceph.h
+++ b/include/linux/ceph/libceph.h
@@ -293,6 +293,7 @@ struct ceph_client *ceph_create_client(struct ceph_options *opt, void *private);
293struct ceph_entity_addr *ceph_client_addr(struct ceph_client *client); 293struct ceph_entity_addr *ceph_client_addr(struct ceph_client *client);
294u64 ceph_client_gid(struct ceph_client *client); 294u64 ceph_client_gid(struct ceph_client *client);
295extern void ceph_destroy_client(struct ceph_client *client); 295extern void ceph_destroy_client(struct ceph_client *client);
296extern void ceph_reset_client_addr(struct ceph_client *client);
296extern int __ceph_open_session(struct ceph_client *client, 297extern int __ceph_open_session(struct ceph_client *client,
297 unsigned long started); 298 unsigned long started);
298extern int ceph_open_session(struct ceph_client *client); 299extern int ceph_open_session(struct ceph_client *client);