Yield control to other greenthreads while processing trusted ports
process_trusted_ports() appeared to be greenthread unfriendly, so
if there are many trusted ports on a node, openvswitch agent may
"hang" for a significant time.
This patch adds explicit yield.
Reviewed: https:/ /review. opendev. org/670014 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=da539da3780 188f01e18ef106d de9ca180324c2a
Committed: https:/
Submitter: Zuul
Branch: master
commit da539da3780188f 01e18ef106dde9c a180324c2a
Author: Oleg Bondarev <email address hidden>
Date: Wed Jul 10 12:39:13 2019 +0400
Yield control to other greenthreads while processing trusted ports
process_ trusted_ ports() appeared to be greenthread unfriendly, so
if there are many trusted ports on a node, openvswitch agent may
"hang" for a significant time.
This patch adds explicit yield.
Change-Id: I7c00812f877e2f c966bbac3060e11 87ce1b809ca
Closes-Bug: #1836023