aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_core.c
diff options
context:
space:
mode:
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>2006-03-03 15:41:56 +0100
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>2006-03-03 15:41:56 +0100
commitecabde4c14663c3c26e29fcdba4276e9407b3915 (patch)
tree83aab3d0d1cc83b8f91a4048fe3b31e0bbabfdc3 /tools/libxc/xc_core.c
parentc84e1f2ac5d82000c7decf212d69230a008ae3ac (diff)
downloadxen-ecabde4c14663c3c26e29fcdba4276e9407b3915.tar.gz
xen-ecabde4c14663c3c26e29fcdba4276e9407b3915.tar.bz2
xen-ecabde4c14663c3c26e29fcdba4276e9407b3915.zip
Change the way that reboot-timeouts are handled. Rather than refreshing the
list of domains each time XendDomainInfo.refresh is called, and spawning threads for each shutdown still in progress, we watch the control/shutdown node and spawn just the one thread immediately. When the daemon starts (say after a crash) all domains are checked for entries in the store indicating a reboot in progress. This avoids a large cost on the store and in threads when the list of domains is refreshed. This happens every time the server is queried, so the cost can be quite high. It's especially a high cost when using xm shutdown -a -w -- this operation should perform a lot better now. Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/libxc/xc_core.c')
0 files changed, 0 insertions, 0 deletions