commit d1930cefd27448eefc373a229a26f8da25581983
Author: Kevin Benton <email address hidden>
Date: Fri Nov 18 04:25:32 2016 -0700
Lock in DHCP agent based on network_id
All cache operations and dnsmasq process operations
are scoped to a network ID so we can always safely
perform concurrent actions on different network IDs.
This patch adjusts the DHCP agent to lock based on
network ID rather than having a global lock for every
operation.
sync_state calls are still protected with a reader/writer
lock to ensure that when sync_state needs to run, all
other operations are blocked.
Reviewed: https:/ /review. openstack. org/399535 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=d1930cefd27 448eefc373a229a 26f8da25581983
Committed: https:/
Submitter: Jenkins
Branch: master
commit d1930cefd27448e efc373a229a26f8 da25581983
Author: Kevin Benton <email address hidden>
Date: Fri Nov 18 04:25:32 2016 -0700
Lock in DHCP agent based on network_id
All cache operations and dnsmasq process operations
are scoped to a network ID so we can always safely
perform concurrent actions on different network IDs.
This patch adjusts the DHCP agent to lock based on
network ID rather than having a global lock for every
operation.
sync_state calls are still protected with a reader/writer
lock to ensure that when sync_state needs to run, all
other operations are blocked.
Related-Bug: #1548190 e56f12e834c5164 316872c2f8b
Change-Id: I56010dc801d82b