[ovs-git] Open vSwitch: ovs-ctl: Clean up temporary file used for force-reload-kmod. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Jun 21 22:16:28 UTC 2011


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  bb9f6963579816c0209a2a7d5510689a043dd965 (commit)
       via  751d0ddbedf919854da3d2c6e5ed76b755c15920 (commit)
       via  6bba6039d78728d39a2d826eba0f61949e1809a3 (commit)
       via  2096903b45d28594c04b47b592a5b7e62b5e1ccc (commit)
       via  e2eed6a7581193da43210a26ad182fb2a697eaf5 (commit)
      from  3fe8050596e3cff28c007b5d7c1ec9c461849995 (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 bb9f6963579816c0209a2a7d5510689a043dd965
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bb9f6963579816c0209a2a7d5510689a043dd965
Author: Ben Pfaff <blp at nicira.com>
		
ovs-ctl: Clean up temporary file used for force-reload-kmod.
		
Suggested-by: Andrew Evans <aevans at nicira.com>


commit 751d0ddbedf919854da3d2c6e5ed76b755c15920
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=751d0ddbedf919854da3d2c6e5ed76b755c15920
Author: Ben Pfaff <blp at nicira.com>
		
ovs-ctl: Use "action" to print success or failure directly.
		
This displays errors in whatever fashion the distro prefers, which seems
like a good idea.  We have to use a shell function so that the redirection
to a temporary file doesn't write the messages for the admin to the file
instead of the console.


commit 6bba6039d78728d39a2d826eba0f61949e1809a3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6bba6039d78728d39a2d826eba0f61949e1809a3
Author: Ben Pfaff <blp at nicira.com>
		
debian: Install ovs-save script into openvswitch-switch package.
		
The force-reload-kmod command needs this.


commit 2096903b45d28594c04b47b592a5b7e62b5e1ccc
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2096903b45d28594c04b47b592a5b7e62b5e1ccc
Author: Ben Pfaff <blp at nicira.com>
		
ovsdb-idl: Plug hole in state machine.
		
The state machine didn't have a proper state for "not yet committed or
aborted", which meant that destroying an ovsdb_idl_txn without committing
or aborting it caused a segfault.  This fixes the problem by adding a new
state TXN_UNCOMMITTED to the state machine.

This is related to commit 79554078d "ovsdb-idl: Fix bad logic in
ovsdb_idl_txn_commit() state transitions", which fixed a related bug.

Bug #2438.


commit e2eed6a7581193da43210a26ad182fb2a697eaf5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e2eed6a7581193da43210a26ad182fb2a697eaf5
Author: Ben Pfaff <blp at nicira.com>
		
vlog: Add a little more detail to ratelimit messages
		
When a message is suppressed by vlog ratelimiting, and then that message
occurs again much later, sometimes we get messages like this:

   Dropped 4 log messages in last 8695 seconds due to excessive rate

It seems pretty clear in this case that in fact we just didn't get that
kind of message for most of that 8695 seconds.  This commit improves the
message by adding a little more detail, e.g.:

   Dropped 4 log messages in last 8695 seconds (most recently, 6697 seconds
   ago) due to excessive rate.

Bug #2144.


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

Summary of changes:
 debian/openvswitch-switch.install |    1 +
 lib/ovsdb-idl.c                   |    9 ++++++---
 lib/ovsdb-idl.h                   |    1 +
 lib/vlog.c                        |   12 +++++++++---
 lib/vlog.h                        |    2 ++
 tests/ovsdb-idl.at                |   28 ++++++++++++++++++++++++++++
 tests/test-ovsdb.c                |    7 +++++++
 utilities/ovs-ctl.in              |   19 ++++++++++++++++---
 utilities/ovs-vsctl.c             |    1 +
 9 files changed, 71 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list