projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ef6b68
)
xenserver: Block until change in poll loop to avoid 100% CPU consumption.
author
Ben Pfaff
<blp@nicira.com>
Thu, 26 Aug 2010 16:38:52 +0000
(09:38 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 26 Aug 2010 17:29:43 +0000
(10:29 -0700)
Signed-off-by: Ben Pfaff <blp@nicira.com>
xenserver/usr_share_openvswitch_scripts_monitor-external-ids
patch
|
blob
|
history
diff --git
a/xenserver/usr_share_openvswitch_scripts_monitor-external-ids
b/xenserver/usr_share_openvswitch_scripts_monitor-external-ids
index 252b92f4c0c86af7b187c3782d111137d5f72576..28aaf78c493f31314387cd6b7a535c530271e4c0 100755
(executable)
--- a/
xenserver/usr_share_openvswitch_scripts_monitor-external-ids
+++ b/
xenserver/usr_share_openvswitch_scripts_monitor-external-ids
@@
-188,6
+188,9
@@
def main(argv):
interfaces = {}
while True:
if not idl.run():
+ poller = ovs.poller.Poller()
+ idl.wait(poller)
+ poller.block()
continue
new_bridges = {}