[ovs-dev] [PATCH] ifnotifier: do not wake up when there is no db connection

Ben Pfaff blp at ovn.org
Mon Oct 31 18:30:49 UTC 2016

On Tue, Oct 25, 2016 at 03:44:43PM -0200, Thadeu Lima de Souza Cascardo wrote:
> When bridge uses the interface notifier, it wakes up until a reconfiguration
> takes place. However, if there is no connection or a lock contention to the
> database, the check for reconfiguration will not take place.
> This uses a seq and only seq_wait when checking for the interfaces change.
> This is easily reproduced by starting ovs-vswitchd without starting
> ovsdb-server, and then creating a new system interface, like using
> 'ip link add type veth'. ovs-vswitchd will then consume 100% CPU.
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
> ---
> This should be backported to 2.6 as it fixes a bug there.

Thanks.  Applied and backported.

More information about the dev mailing list