[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH] Fix another race condition in xm destroy


  • To: Anthony Liguori <aliguori@xxxxxxxxxx>
  • From: Christian Limpach <christian.limpach@xxxxxxxxx>
  • Date: Fri, 16 Sep 2005 20:00:39 +0100
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 16 Sep 2005 18:58:24 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aytvnD9ZWIni8jFeGgLw2T425+HO4gZmTMl2fkkSdaQYlvozgtcaAh1mJRMEauDiJppcS27EAoV3rJX4CWWHi+DcyWmnjVU83DF3USO0hOTSgSC2Q6Chal5GhORjp1RQ83m0lU5NLrnVtEu8J4zu2jmvE+ZnYpKbCHnhTBJlHyM=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 9/16/05, Anthony Liguori <aliguori@xxxxxxxxxx> wrote:
> There's a race condition in xm destroy that gets triggered when
> xc_domain_destroy results in a domain disappearing before we invoke the
> cleanup routines.  Specifically, the saveToDB routines will through a No
> such process error.
> 
> Christian, I'd appreciate if you could sanity check this before
> committing.  I think it's okay because starting the cleanup shouldn't
> have any adverse effects.  Having another pair of eyes confirm it would
> make me feel better though :-)

How does it fail for you?  I fixed one issue where we were clearing
the store event channel and writing that back to the store was
failing.

I'd prefer to keep doing the cleanup after destroy_domain.

     christian

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.