[ovs-build] Passed: horms2/ovs#417 (branch-2.12 - 684ac90)
Travis CI
builds at travis-ci.org
Fri Jan 3 08:21:22 UTC 2020
Build Update for horms2/ovs
-------------------------------------
Build: #417
Status: Passed
Duration: 1 hr, 0 mins, and 33 secs
Commit: 684ac90 (branch-2.12)
Author: Han Zhou
Message: extend-table: Fix reusing group/meter by multiple logical flows.
A meter/group can be used by multiple logical flows. However, current
code didn't handle this properly. Each table_info item has a lflow_uuid
field, which can keep track of only a single lflow.
In most cases this doesn't create problems because multiple table_info
entries are created even for same "name".
However, when multiple lflows are added in the same main loop iteration
using the same "name" (i.e. when the new_table_id == true), the function
ovn_extend_table_assign_id() will return the old id without creating a
new entry, and the reference by the second lflow is untracked. Later
with incremental processing, if the old lflow is deleted, the table_info
will be deleted, which results in the deletion of group/meter in OVS,
even when it is still used by the second lflow.
This patch fixes the problem by adding a hmap in each desired table_info
item to keep track of multiple lflow references. A test case is added.
The test case would fail without this fix.
At the same time, this patch adds an index that maps from lflow_uuid to
a list of desired table_info items used by the lflow, so that the
ovn_extend_table_remove_desired() is more efficient, without having
to do a O(N) iteration every time.
Fixes: ca278d98a4f5 ("ovn-controller: Initial use of incremental engine - quiet mode.")
Acked-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Han Zhou <hzhou at ovn.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>
View the changeset: https://github.com/horms2/ovs/compare/7fbfaf9c5ca7^...684ac9082696
View the full build log and details: https://travis-ci.org/horms2/ovs/builds/632181918?utm_medium=notification&utm_source=email
--
You can unsubscribe from build emails from the horms2/ovs repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=20314049&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20200103/fdba6208/attachment.html>
More information about the build
mailing list