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

dev at openvswitch.org dev at openvswitch.org
Tue Aug 21 21:06:02 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, branch-1.6 has been updated
       via  9f3385cd758e655d778f6d2286f9d472a7278b8d (commit)
      from  b5e0e36c13ebd4a9ab177c0611486bb585086a5f (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 9f3385cd758e655d778f6d2286f9d472a7278b8d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9f3385cd758e655d778f6d2286f9d472a7278b8d
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