> On Tue, May 13, 2014 at 09:42:02AM +1200, Joe Stringer wrote: >> Is there any general principles behind fixing these? I'm wondering if >> there's a way I can prevent these in future.
probably the most typical case is to wait for upcall handler after netdev-dummy/recieve. another typical one is to wait for log writer. it might be a good idea to disable async log writing for tests. > If we come up with a general principle like that, maybe we can come up > with a systematic way to fix the races without sleeping. For example, > adding some "ovs-appctl" call that can (somehow) wait until the > processing of previously received packets has completed. it would be great if it can be done without affecting non-test cases. YAMAMOTO Takashi _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev