[ovs-git] Open vSwitch: ofproto: facet_execute() stats changes. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Mar 3 16:31:13 PST 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  9fe215f0f65c77593436e920cd07cf9bb24a7db8 (commit)
       via  0b13821fe00d918e24c71419355a10b65081a71a (commit)
      from  f45ee2cd9a8cd2a4f2a60fd36da9f95775e2efa6 (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 9fe215f0f65c77593436e920cd07cf9bb24a7db8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9fe215f0f65c77593436e920cd07cf9bb24a7db8
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto: facet_execute() stats changes.
		
facet_execute() should rely on facet_update_stats() to update the
relevant facet's used parameter.

Before this patch, in very rare cases, the current practice could
lead to assertion failures.  The used value of a facet could be
slightly in the future due to the clocks being out of sync between
the kernel and user space.  Thus manually setting the used
parameter of a facet could put it slightly behind an already pushed
used value causing an assertion failure.

Bug #4745.


commit 0b13821fe00d918e24c71419355a10b65081a71a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0b13821fe00d918e24c71419355a10b65081a71a
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto: Update facet stats when used time increases.
		


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

Summary of changes:
 ofproto/ofproto.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list