diff options
author | Yan, Zheng <zyan@redhat.com> | 2015-09-01 17:19:38 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2015-09-08 23:14:30 +0300 |
commit | 8b9558aab853e98ba6e3fee0dd8545544966958c (patch) | |
tree | 5713cf3431ba724e7fdffe0a0214a6ec3b7d0ccb /net/ceph/ceph_common.c | |
parent | d194cd1dd1be61249b08e5461ae8a9c05d1072c9 (diff) | |
download | linux-8b9558aab853e98ba6e3fee0dd8545544966958c.tar.bz2 |
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.c | 1 |
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]...] */ |