From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] net: linkwatch: allow vlans to get carrier changes faster Date: Thu, 15 Sep 2011 15:44:10 -0400 (EDT) Message-ID: <20110915.154410.26623232105923613.davem@davemloft.net> References: <4E5A40A9.2000404@hitachi.com> <1314540589.3036.12.camel@edumazet-laptop> <1314783118.2801.13.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: mitsuo.hayasaka.hu@hitachi.com, herbert@gondor.hengli.com.au, shemminger@vyatta.com, kaber@trash.net, mirq-linux@rere.qmqm.pl, therbert@google.com, jesse@nicira.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, yrl.pp-manager.tt@hitachi.com To: eric.dumazet@gmail.com Return-path: In-Reply-To: <1314783118.2801.13.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Eric Dumazet Date: Wed, 31 Aug 2011 11:31:58 +0200 > There is a time-lag of IFF_RUNNING flag consistency between vlan and > real devices when the real devices are in problem such as link or cable > broken. > > This leads to a degradation of Availability such as a delay of failover > in HA systems using vlan since the detection of the problem at real > device is delayed. > > We can avoid the linkwatch delay (~1 sec) for devices linked to another > ones, since delay is already done for the realdev. > > Based on a previous patch from Mitsuo Hayasaka > > Reported-by: Mitsuo Hayasaka > Signed-off-by: Eric Dumazet Applied.