[lxc-devel] [PATCH] tests: Introduce lxc-test-concurrent for testing basic actions concurrently

Serge Hallyn serge.hallyn at ubuntu.com
Sat Sep 14 18:14:52 UTC 2013


Quoting S.Çağlar Onur (caglar at 10ur.org):
> Hi Serge,
> 
> This seems to fix the creates but starts started to fail this time. One
> quick note, my concurrent.c still uses ubuntu as it's much more easy to
> replicate the issue with it.

All right I *think* I was on the right track with the commit which I
reverted in staging, but it'll deadlock as is.  (Didn't test, but it's
obvious)  I *think* we'll just want to drop the process_lock() around
the block of code in the daemonized part of api_start(), especially
around the wait_on_daemonized_start().  But I don't have time to do it
justice right now and don't want to cause staging to be unusable for
anyone.  If you want to play with it, please feel free to play with
reverted commit 002f3cff4d83c0666cfda40599eded8e0d638c6c.

-serge




More information about the lxc-devel mailing list