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

xen-devel

[Top] [All Lists]

RE: [Xen-devel] [PATCH] Minor fix to xentop to stop it dying when domain

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] Minor fix to xentop to stop it dying when domains go away at the wrong time
From: "Graham, Simon" <Simon.Graham@xxxxxxxxxxx>
Date: 2006年7月25日 14:40:11 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2006年7月25日 11:41:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acav/f/IGhDdGcXwRMuoGSnx6qmqzwAGxMVQ
Thread-topic: [Xen-devel] [PATCH] Minor fix to xentop to stop it dying when domains go away at the wrong time
>
> libxenstat should be fixed so that xenstat_get_node() does not
> spuriously fail in this way. This could be done by getting the
> 'collectors' it calls to return better error info -- we can use EAGAIN
> to cause xenstat_get_node() to rerun itself from scratch rather than
> returning failure to the caller. Otherwise we're going to need to fix
> every user of libxenstat, which is stupid.
>
> -- Keir
I thought about this too but decided not to for a couple of reasons:
1. It's not clear that all possible users of xenstat_get_node() would
want
 to have the call take an arbitrary amount of time as it struggles to
 get a consistent snapshot -- better to let the caller decide policy
 on retrying the call.
2. xentop is currently the only user of xenstat_get_node in the tree and
the
 fix in xentop was waaay easier ;-)
If you still think xenstat_get_node() should loop until it has a
consistent snapshot
then I'll redo the patch that way
/simgr
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Re: [RFC PATCH 28/33] Add Xen grant table support , Hollis Blanchard
Next by Date: Re: [Xen-devel] BUG: x86-64 VT crash backtrace , Rik van Riel
Previous by Thread: Re: [Xen-devel] [PATCH] Minor fix to xentop to stop it dying when domains go away at the wrong time , Keir Fraser
Next by Thread: Re: [Xen-devel] [PATCH] Minor fix to xentop to stop it dying when domains go away at the wrong time , Keir Fraser
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /