From: Anthony Liguori <aliguori@us.ibm.com>
To: "Stephen C. Tweedie" <sct@redhat.com>
Cc: Andrew Warfield <andrew.warfield@cl.cam.ac.uk>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Steven Rostedt <rostedt@goodmis.org>,
Julian Chesterfield <jac90@cam.ac.uk>
Subject: Re: Re: blktap race against xenstore startup
Date: Thu, 28 Sep 2006 20:15:46 -0500 [thread overview]
Message-ID: <451C73C2.9010407@us.ibm.com> (raw)
In-Reply-To: <1159485838.8884.38.camel@sisko.scot.redhat.com>
Stephen C. Tweedie wrote:
> Hi,
>
> On Thu, 2006-09-28 at 17:45 -0500, Anthony Liguori wrote:
>
>
>>> Ugh. There has got to be a better way to synchronise with the initial
>>> population of the dom0 information into xenstore, surely? Has no other
>>> component of the Xen stack ever seen this before?
>>>
>> I don't know how blktap is launched right now, but the same problem has
>> occurred in the past for other daemons (like xenconsoled).
>>
>> xenstored won't close standard output until it's ready to receive
>> connections. xend start will wait to start the other daemons until
>> xenstored is ready. How does blktap get spawned?
>>
>
> It (the blktapctrl userland daemon) gets execve'd by xend:
>
> elif sys.argv[1] == 'start':
> start_xenstored()
> start_consoled()
> start_blktapctrl()
> return daemon.start()
>
> The problem is not that xenstored is dead: it's alive and running, it
> just hasn't had the /local/domain tree filled in, so it returns ENOENT.
> xenstored *is* ready, but that's not enough.
>
Ah, I see. So it sounds like blktapctrl ought to be setting a watch for
/local/domain.
Regards,
Anthony Liguori
> --Stephen
>
>
>
next prev parent reply other threads:[~2006-09-29 1:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-28 22:17 blktap race against xenstore startup Stephen C. Tweedie
2006-09-28 22:45 ` Anthony Liguori
2006-09-28 23:23 ` Stephen C. Tweedie
2006-09-29 1:15 ` Anthony Liguori [this message]
2006-09-29 6:54 ` Keir Fraser
2006-10-02 9:36 ` Stephen C. Tweedie
2006-10-02 10:14 ` Keir Fraser
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=451C73C2.9010407@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=andrew.warfield@cl.cam.ac.uk \
--cc=jac90@cam.ac.uk \
--cc=rostedt@goodmis.org \
--cc=sct@redhat.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.