forked from xapi-project/xen-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove leaks in the xenopsd <-> xapi caches
We have two caches: Xapi_cache: contains the latest pool VM metadata, translated into xenopsd format. Whenever the user changes the VM's name_label (for example), this is used to update the xenopsd metadata for next reboot. Xenops_cache: contains the latest runtime VM state, as queried from xenopsd. This is used to minimise the number of writes to the pool database. The cache lifetime is tied to the lifetime of the metadata in xenopsd: whenever we add to xenopsd we initialise the cache; whenever we remove from xenopsd we remove from the cache. Signed-off-by: David Scott <dave.scott@eu.citrix.com>
- Loading branch information
David Scott
committed
Jul 26, 2012
1 parent
2fb5cf4
commit eb8dc60
Showing
3 changed files
with
154 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.