diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2011-06-20 16:21:19 -0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-05-09 04:03:53 -0400 |
commit | 071cf1c9a7043660be08358e4b508f62120f224b (patch) | |
tree | 02cfef4320e68ca4cb8a212c2734d58623c690a7 /include/linux/drbd_limits.h | |
parent | 5f138ce01ae6430db2e2cebd0a945dff75581d62 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/drbd_limits.h b/include/linux/drbd_limits.h index 447c36752385..928c84dfaf42 100644 --- a/include/linux/drbd_limits.h +++ b/include/linux/drbd_limits.h | |||
@@ -60,7 +60,7 @@ | |||
60 | 60 | ||
61 | /* timeout for the ping packets.*/ | 61 | /* timeout for the ping packets.*/ |
62 | #define DRBD_PING_TIMEO_MIN 1 | 62 | #define DRBD_PING_TIMEO_MIN 1 |
63 | #define DRBD_PING_TIMEO_MAX 100 | 63 | #define DRBD_PING_TIMEO_MAX 300 |
64 | #define DRBD_PING_TIMEO_DEF 5 | 64 | #define DRBD_PING_TIMEO_DEF 5 |
65 | 65 | ||
66 | /* max number of write requests between write barriers */ | 66 | /* max number of write requests between write barriers */ |