[ovs-git] Open vSwitch: bridge: Complete initial configuration even with empty database. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Apr 11 22:53:21 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  ff02e9a53779043455d4d442611be356637cb0e6 (commit)
       via  1c85959e0c8a2c60d8b864d28dfcc7ab55c95a19 (commit)
      from  f28b6dd3f49d355b18e631e441f52611de4e8b13 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ff02e9a53779043455d4d442611be356637cb0e6
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ff02e9a53779043455d4d442611be356637cb0e6
Author: Ben Pfaff <blp at nicira.com>
		
bridge: Complete initial configuration even with empty database.
		
If the database was empty, that is, it did not even contain an Open_vSwitch
top-level configuration record, at ovs-vswitchd startup time, then
OVS failed to detach and used 100% CPU.  This commit fixes the problem.

This problem was introduced by commit 63ff04e82623e765 (bridge: Only
complete daemonization after db commits initial config.).

This problem did not manifest if the initscripts supplied with Open vSwitch
were used, because those initscripts always initialize the database before
starting ovs-vswitchd, so this problem affects only users with hand-rolled
local OVS startup scripts.

Bug #16090.
Reported-by: Pravin Shelar <pshelar at nicira.com>
Tested-by: Pravin Shelar <pshelar at nicira.com>
Reported-by: Paul Ingram <paul at nicira.com>
Reported-by: Amre Shakimov <ashakimov at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ansis Atteka <aatteka at nicira.com>


commit 1c85959e0c8a2c60d8b864d28dfcc7ab55c95a19
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1c85959e0c8a2c60d8b864d28dfcc7ab55c95a19
Author: Ben Pfaff <blp at nicira.com>
		
memory: Avoid 100% CPU when there is nothing to report.
		
Commit b9de4087685 (memory: Avoid an empty log message if there's nothing
to log.) introduced a 100% CPU usage condition when there is nothing to
log.  This fixes the problem.

Reported-by: Ansis Atteka <aatteka at nicira.com>
Acked-by: Ansis Atteka <aatteka at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 AUTHORS           |    1 +
 lib/memory.c      |    6 ++++--
 vswitchd/bridge.c |   34 +++++++++++++++++-----------------
 3 files changed, 22 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list