libceph: add function that reset client's entity addr
authorYan, Zheng <zyan@redhat.com>
Thu, 25 Jul 2019 12:16:39 +0000 (20:16 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 16 Sep 2019 10:06:23 +0000 (12:06 +0200)
commit120a75ea9f4ba02f852171e75d44f29139b9c83e
tree6944f51971e6adea422725866c0e81e5249ebc18
parente09580b343aa117fd07c1bb7f7dfc5bc630a2953
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>
include/linux/ceph/libceph.h
include/linux/ceph/messenger.h
include/linux/ceph/mon_client.h
include/linux/ceph/osd_client.h
net/ceph/ceph_common.c
net/ceph/messenger.c
net/ceph/mon_client.c
net/ceph/osd_client.c