From: Lars Ellenberg Date: Mon, 20 Jun 2011 20:21:19 +0000 (+0200) Subject: drbd: allow ping-timeout of up to 30 seconds X-Git-Tag: upstream/snapshot3+hdmi~7335^2^2~60 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=071cf1c9a7043660be08358e4b508f62120f224b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Lars Ellenberg --- diff --git a/include/linux/drbd_limits.h b/include/linux/drbd_limits.h index 447c367..928c84d 100644 --- a/include/linux/drbd_limits.h +++ b/include/linux/drbd_limits.h @@ -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 */