]> git.ipfire.org Git - thirdparty/lxc.git/commit
speed container creation/destruction
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 31 Mar 2009 11:55:44 +0000 (13:55 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 31 Mar 2009 11:55:44 +0000 (13:55 +0200)
commit34e7030e83eff25f66bfd6505f2f479a41a4d3b6
treefd0d7f200b7deb4ea2bb2d38ebf792dcb8afb90e
parent3f21c11481b50030bc073a279c8cbe8f03f57138
speed container creation/destruction

As the state of the container is monitored with the netlink,
the file state is no longer used to watch the state changes.

The previous hack, which adds a tempo of 200ms, is removed and
that makes the container being created, started, stopped, destroyed
faster, we gain 1 second in a container lifecycle. One second is
too much if we launch thousand of containers, one by one like for
example in a tests suite.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/state.c