aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/drbd_limits.h
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2011-06-20 16:21:19 -0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 10:57:48 -0500
commitf03c254961cce65ee2b21c4beccb6975b6f9d308 (patch)
treec6899d5e9c4ad2f7b2671922aaee93b842d8eb90 /include/linux/drbd_limits.h
parent3b7cd457d0c8458f6a4df2854f75fd80c0338f93 (diff)
drbd: allow ping-timeout of up to 30 seconds
Allow up to 300 centi-seconds to be configured for the "ping timeout". There may be setups where heavy congestion, huge buffers, and asymmetric bandwidth limitations may need a "huge" ping-timeout as work-around for "spurious connection loss" problems. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include/linux/drbd_limits.h')
-rw-r--r--include/linux/drbd_limits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/drbd_limits.h b/include/linux/drbd_limits.h
index 3627f760966e..82db83410f08 100644
--- a/include/linux/drbd_limits.h
+++ b/include/linux/drbd_limits.h
@@ -62,7 +62,7 @@
62 62
63 /* timeout for the ping packets.*/ 63 /* timeout for the ping packets.*/
64#define DRBD_PING_TIMEO_MIN 1 64#define DRBD_PING_TIMEO_MIN 1
65#define DRBD_PING_TIMEO_MAX 100 65#define DRBD_PING_TIMEO_MAX 300
66#define DRBD_PING_TIMEO_DEF 5 66#define DRBD_PING_TIMEO_DEF 5
67 67
68 /* max number of write requests between write barriers */ 68 /* max number of write requests between write barriers */