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-devel

Re: [Xen-devel] xenbus_transaction_end() and EAGAIN

To: John Levon <levon@xxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xenbus_transaction_end() and EAGAIN
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 04 Oct 2006 08:48:52 +0100
Delivery-date: Wed, 04 Oct 2006 00:59:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061004021314.GA323@xxxxxxxxxxxxxxxxxxxx>
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: AcbniYjmx47dYVN8EduVNgANk04WTA==
Thread-topic: [Xen-devel] xenbus_transaction_end() and EAGAIN
User-agent: Microsoft-Entourage/11.2.5.060620
On 4/10/06 3:13 am, "John Levon" <levon@xxxxxxxxxxxxxxxxx> wrote:

> The first is the watch asking us to suspend. Then we get an EAGAIN and
> loop around to try again, but this time the node is rewritten to be "",
> as we requested via xenbus_write(). As far as I can see it shouldn't be
> possible for our xenbus_write("") to have succeeded as part of the
> failed transaction. Is it possible the EAGAIN is coming from the higher
> levels somehow, rather than do_transaction_end() ?

No, the writes should be discarded of course. If xenstored ever returns
EAGAIN it should mean that the transaction was discarded and not committed
in part or whole. Could EAGAIN be coming from the xenbus layers in your
guest OS?

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>