|
|
|
|
|
|
|
|
|
|
xen-api
[Xen-API] [PATCH 0 of 7] CA-34933: improve session gc
CA-34933: improve session garbage collection mechanisms
This series of patches (a) splits session gc into two pools of intrapool
sessions and normal sessions, so that a user cannot force intrapool sessions to
be gced, (b) makes sure that a session in a running task is not gced until the
task finishes, (c) makes room for sessions not associated with long-running
tasks, (d) fixes a bug where master could be called back with a gced session
creating unpredictable problems.
ocaml/xapi/xapi_session.mli | 36 ++++++++++++++++++++++++++++++++++++
ocaml/xapi/db_gc.ml | 8 +++++---
ocaml/idl/datamodel.ml | 2 ++
ocaml/xapi/db_gc.ml | 9 +++++----
ocaml/xapi/db_gc.ml | 19 ++++++++++++++-----
ocaml/xapi/xapi_globs.ml | 7 ++++---
ocaml/xapi/helpers.ml | 6 +++++-
ocaml/idl/datamodel.ml | 1 +
ocaml/xapi/db_gc.ml | 22 +++++++++++++++++++++-
ocaml/xapi/xapi_session.ml | 9 +++++----
10 files changed, 98 insertions(+), 21 deletions(-)
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-API] [PATCH 0 of 7] CA-34933: improve session gc,
Marcus Granado <=
|
|
|
|
|