[ovs-dev] [PATCHv2 4/5] bridge: Only store instant_stats on device changes

Joe Stringer joestringer at nicira.com
Mon Nov 18 23:27:18 UTC 2013


On 14 November 2013 15:28, Joe Stringer <joestringer at nicira.com> wrote:
> @@ -2529,6 +2538,7 @@ bridge_wait(void)
>
>          HMAP_FOR_EACH (br, node, &all_bridges) {
>              ofproto_wait(br->ofproto);
> +            netdev_seq_wait(br->change_seq);
>          }
>          poll_timer_wait_until(iface_stats_timer);
>      }
> --
> 1.7.9.5

I'm not sure we strictly need to wake up on device changes, since they
won't be checked until the instant_stats timer times out---which we
already wait on. This line could be omitted.



More information about the dev mailing list