diff options
author | Junxiao Bi <[email protected]> | 2014-08-29 15:19:02 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-08-29 16:28:16 -0700 |
commit | 8e9801dfe37c9e68cdbfcd15988df2187191864e (patch) | |
tree | 27b0c2499e1a11a2ad5b8a8b1d0bfcae5f25cd8e /net/lapb/lapb_subr.c | |
parent | c43c363def04cdaed0d9e26dae846081f55714e7 (diff) |
ocfs2: o2net: set tcp user timeout to max value
When tcp retransmit timeout(15mins), the connection will be closed.
Pending messages may be lost during this time. So we set tcp user
timeout to override the retransmit timeout to the max value. This is OK
for ocfs2 since we have disk heartbeat, if peer crash, the disk
heartbeat will timeout and it will be evicted, if disk heartbeat not
timeout and connection idle for a long time, then this means the cluster
enters split-brain state, since fence can't happen, we'd better keep the
connection and wait network recover.
Signed-off-by: Junxiao Bi <[email protected]>
Reviewed-by: Srinivas Eeda <[email protected]>
Reviewed-by: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Joseph Qi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions