aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph/ceph_common.c
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2015-09-01 17:19:38 +0800
committerIlya Dryomov <idryomov@gmail.com>2015-09-08 23:14:30 +0300
commit8b9558aab853e98ba6e3fee0dd8545544966958c (patch)
tree5713cf3431ba724e7fdffe0a0214a6ec3b7d0ccb /net/ceph/ceph_common.c
parentrbd: plug rbd_dev->header.object_prefix memory leak (diff)
downloadlinux-dev-8b9558aab853e98ba6e3fee0dd8545544966958c.tar.xz
linux-dev-8b9558aab853e98ba6e3fee0dd8545544966958c.zip
libceph: use keepalive2 to verify the mon session is alive
Signed-off-by: Yan, Zheng <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph/ceph_common.c')
-rw-r--r--net/ceph/ceph_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ceph/ceph_common.c b/net/ceph/ceph_common.c
index f30329f72641..3f56eefc2a07 100644
--- a/net/ceph/ceph_common.c
+++ b/net/ceph/ceph_common.c
@@ -357,6 +357,7 @@ ceph_parse_options(char *options, const char *dev_name,
opt->osd_keepalive_timeout = CEPH_OSD_KEEPALIVE_DEFAULT;
opt->mount_timeout = CEPH_MOUNT_TIMEOUT_DEFAULT;
opt->osd_idle_ttl = CEPH_OSD_IDLE_TTL_DEFAULT;
+ opt->monc_ping_timeout = CEPH_MONC_PING_TIMEOUT_DEFAULT;
/* get mon ip(s) */
/* ip1[:port1][,ip2[:port2]...] */