]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: reduce sensitive to retransmit failures
authorHoang Le <hoang.h.le@dektech.com.au>
Wed, 6 Nov 2019 06:26:10 +0000 (13:26 +0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Nov 2019 01:37:43 +0000 (17:37 -0800)
commitaee5fbf77043272b18ea2a1c33565eb0b8f42d7a
treec28d513b512a93b8325eedf17e28f2794757252c
parent720c56c8ec95f7fa22fc68006f9957c4d769108f
tipc: reduce sensitive to retransmit failures

With huge cluster (e.g >200nodes), the amount of that flow:
gap -> retransmit packet -> acked will take time in case of STATE_MSG
dropped/delayed because a lot of traffic. This lead to 1.5 sec tolerance
value criteria made link easy failure around 2nd, 3rd of failed
retransmission attempts.

Instead of re-introduced criteria of 99 faled retransmissions to fix the
issue, we increase failure detection timer to ten times tolerance value.

Fixes: 6651cc6130d4 ("tipc: simplify stale link failure criteria")
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Hoang Le <hoang.h.le@dektech.com.au>
Acked-by: Jon
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c