drbd: allow ping-timeout of up to 30 seconds
authorLars Ellenberg <lars.ellenberg@linbit.com>
Mon, 20 Jun 2011 20:21:19 +0000 (22:21 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 9 May 2012 08:03:53 +0000 (10:03 +0200)
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>
include/linux/drbd_limits.h

index 447c36752385a52bc661adcea0cec1ca37ffad7f..928c84dfaf42aacb31a2f0a93cc701f04cc8fba3 100644 (file)
@@ -60,7 +60,7 @@
 
  /* timeout for the ping packets.*/
 #define DRBD_PING_TIMEO_MIN  1
-#define DRBD_PING_TIMEO_MAX  100
+#define DRBD_PING_TIMEO_MAX  300
 #define DRBD_PING_TIMEO_DEF  5
 
   /* max number of write requests between write barriers */