Skip to content

Commit

Permalink
drbd: allow ping-timeout of up to 30 seconds
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lars Ellenberg authored and Philipp Reisner committed May 9, 2012
1 parent 5f138ce commit 071cf1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/drbd_limits.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 071cf1c

Please sign in to comment.