WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH 0 of 7] CA-34933: improve session gc

To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] [PATCH 0 of 7] CA-34933: improve session gc
From: Marcus Granado <marcus.granado@xxxxxxxxxx>
Date: Fri, 21 May 2010 14:46:03 +0100
Delivery-date: Fri, 21 May 2010 06:55:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.4.3
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