[ovs-git] [openvswitch/ovs] 500ce3: bridge: Do not wait for status update when there i...

GitHub noreply at github.com
Mon Apr 6 21:26:08 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 500ce35e8d2ef05295dd9e3b6147cd55dd79df55
      https://github.com/openvswitch/ovs/commit/500ce35e8d2ef05295dd9e3b6147cd55dd79df55
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-04-06 (Mon, 06 Apr 2015)

  Changed paths:
    M vswitchd/bridge.c

  Log Message:
  -----------
  bridge: Do not wait for status update when there is no bridge.

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 131d04dcc4190d4202d605bd982047084e987fba
      https://github.com/openvswitch/ovs/commit/131d04dcc4190d4202d605bd982047084e987fba
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-04-06 (Mon, 06 Apr 2015)

  Changed paths:
    M vswitchd/bridge.c

  Log Message:
  -----------
  bridge: Wait for previous stats update transation when it is incomplete.

When ovsdb happens to get blocked for few seconds, the 'stats_timer'
will not be updated due to incompletion of previous transaction.
When the current time passes the 'stats_timer', the call to
poll_timer_wait_until(stats_timer) will keep waking up ovs-vswitchd,
causing 100% cpu utilization.

This commit fixes this issue by making ovs-vswitchd wait on the
previous idl transaction when it is incomplete rather than the
'stats_timer'.

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/5f03c9832109...131d04dcc419


More information about the git mailing list