[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120831.163743.1055530014542819729.davem@davemloft.net>
Date: Fri, 31 Aug 2012 16:37:43 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jbohac@...e.cz
Cc: fubar@...ibm.com, chris.friesen@...band.com, andy@...yhouse.net,
netdev@...r.kernel.org, ptesarik@...e.cz
Subject: Re: [PATCH] bonding: add some slack to arp monitoring time limits
From: Jiri Bohac <jbohac@...e.cz>
Date: Fri, 31 Aug 2012 00:02:47 +0200
> Currently, all the time limits in the bonding ARP monitor are in
> multiples of arp_interval -- the time interval at which the ARP
> monitor is periodically scheduled.
>
> With a fast network round-trip and a little scheduling latency
> of the ARP monitor work, a limit of n*delta_in_ticks may
> effectively mean (n-1)*delta_in_ticks.
>
> This is fatal in case of n==1 (the link will stay down
> forever) and makes the behaviour non-deterministic in all the
> other cases.
>
> Add a delta_in_ticks/2 time slack to all the time limits.
>
> Signed-off-by: Jiri Bohac <jbohac@...e.cz>
Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists