All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Wright <anthony@overnetdata.com>
To: Tim Deegan <Tim.Deegan@citrix.com>
Cc: Ian Campbell <Ian.Campbell@eu.citrix.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: Domains not being destroyed properly
Date: Fri, 24 Jun 2011 14:36:17 +0100	[thread overview]
Message-ID: <4E0492D1.1080308@overnetdata.com> (raw)
In-Reply-To: <20110624130129.GB17634@whitby.uk.xensource.com>

On 24/06/2011 14:01, Tim Deegan wrote:
> Hi, 
>
> At 13:54 +0100 on 24 Jun (1308923697), Anthony Wright wrote:
>> The problem is that I don't think there's enough information available
>> from watching @releaseDomain to implement a reaper well. The
>> xenstore-watch on @releaseDomain only tells you that a domain has died
>> (to make things more complicated I actually get two notifications when a
>> domain get's shutdown), it doesn't tell you which domain has died. A
>> reaper would have to maintain a list of domains as they were before the
>> notification to compare against the list after the notification to be
>> able to issue a notification for the domain that has died.
> That sounds awfully fragile.  It could get a list of all living domains
> and reap qemus/xenstore data for any domain not in the list.  (Or, more
> safely, enumerate all qemus and xenstore entries and check for each
> whether the domain is alive). 
Is this information still available after a domain has been destroyed? I
was expecting that the watcher of @releaseDomain was only notified of a
domain destruction after the domain had been completely destroyed so
there would be no information amount the domain available any more. Are
you saying the would still be qemus/xenstore information available for
the domain, and if so how does it get tidied up?

Anthony.

  reply	other threads:[~2011-06-24 13:36 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-17 11:29 Domains not being destroyed properly Anthony Wright
2011-06-17 18:12 ` Nathan March
2011-06-21 11:51 ` Ian Campbell
2011-06-21 12:57   ` Anthony Wright
2011-06-21 13:13     ` Ian Jackson
2011-06-21 13:39     ` Konrad Rzeszutek Wilk
2011-06-21 14:52       ` Anthony Wright
2011-06-21 15:44         ` Ian Campbell
2011-06-21 16:04           ` Anthony Wright
2011-06-22  7:56             ` Ian Campbell
2011-06-24 12:54               ` Anthony Wright
2011-06-24 13:01                 ` Tim Deegan
2011-06-24 13:36                   ` Anthony Wright [this message]
2011-06-24 14:21                     ` Ian Campbell
2011-06-24 13:45                 ` Ian Campbell
2011-06-24 14:15                   ` Anthony Wright
2011-06-24 14:24                     ` Ian Campbell
2011-06-21 16:26           ` Ian Jackson
2011-06-21 16:42             ` Ian Campbell
2011-06-21 17:01               ` Keir Fraser
2011-06-21 19:35             ` Tim Deegan
2011-06-22  8:02               ` Ian Campbell
2011-06-21 13:27 ` Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E0492D1.1080308@overnetdata.com \
    --to=anthony@overnetdata.com \
    --cc=Ian.Campbell@eu.citrix.com \
    --cc=Tim.Deegan@citrix.com \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.