All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yu Zhiguo <yuzg@cn.fujitsu.com>
To: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: why xenstore-* hangs if xenstored is not started
Date: Tue, 22 Jun 2010 16:46:54 +0800	[thread overview]
Message-ID: <4C20787E.1080206@cn.fujitsu.com> (raw)
In-Reply-To: <4C2073FD.5050800@eu.citrix.com>

Hi Vincent,

Vincent Hanquez wrote:
>>
>> Thanks~~
>> I confirmed the task is at D+ and there are no this "problem" if use
>> option -s.
>> But I think S+ is better than D+...
> 
> I don't think it's very easy to have interruptible sleep here, it would
> change radically the protocol. the kernel xenstored page need to be
> handled "atomically" since requests and their replied cannot be
> intertwined. Maybe a timeout would be the one requiring the less change ?
> 

 I'm not familiar with those code and not sure how can fix it,
but I think a timeout is better than doing nothing.


-- 
Regards
Yu Zhiguo

  reply	other threads:[~2010-06-22  8:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-22  7:32 why xenstore-* hangs if xenstored is not started Yu Zhiguo
2010-06-22  7:44 ` Vincent Hanquez
2010-06-22  7:58   ` Yu Zhiguo
2010-06-22  8:27     ` Vincent Hanquez
2010-06-22  8:46       ` Yu Zhiguo [this message]
2010-06-22  7:45 ` Keir Fraser
2010-06-22  7:56   ` Vincent Hanquez
2010-06-22  8:06     ` Keir Fraser
2010-06-22  8:26       ` Vincent Hanquez
2010-06-22  8:12   ` Yu Zhiguo

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=4C20787E.1080206@cn.fujitsu.com \
    --to=yuzg@cn.fujitsu.com \
    --cc=vincent.hanquez@eu.citrix.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.