[ovs-git] Open vSwitch: bond: Tag flows according to their hash bucket, not just their slave. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Aug 21 20:57:57 UTC 2012


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  00ed83143a0a2df95304926b4e8de3cdc9b89065 (commit)
      from  9ff262f43571b20999de65c55991bf9797d8431d (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 00ed83143a0a2df95304926b4e8de3cdc9b89065
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=00ed83143a0a2df95304926b4e8de3cdc9b89065
Author: Ben Pfaff <blp at nicira.com>
		
bond: Tag flows according to their hash bucket, not just their slave.
		
The bonding code is supposed to tag flows two ways:

    - According to the chosen bond slave, to make it easy to invalidate all
      of the flows assigned to a given slave.

    - According to the hash value for a flow, to make it easy to invalidate
      all of the flows that hash into the same bucket.

However, the code wasn't actually applying the hash-based tags.  This
meant that rebalancing didn't take effect immediately, and so after
rebalancing we could get log messages like this:

   inconsistency in subfacet (actions were: 5) (correct actions: 4)

specifying some flow that was moved by the rebalance.

This commit fixes the problem by applying the hash-based tags.

Bug #12847.
Reported-by: Pratap Reddy <preddy at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


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

Summary of changes:
 AUTHORS    |    1 +
 lib/bond.c |   10 ++++++----
 2 files changed, 7 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list