All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Xen Development Mailing List <xen-devel@lists.xensource.com>
Subject: [BUG] race condition in blkfront (probably other frontends too).
Date: Thu, 24 Jul 2008 16:15:07 +0200	[thread overview]
Message-ID: <48888E6B.9090607@redhat.com> (raw)

  Hi folks,

I've just seen it with the block frontend, but most likely the other
frontend drivers are affected too.  The blkfront drivers goes into
initialized state (in blkfront_probe), and *after* that xenbus_dev_probe
sets a watch on the state node of the device.  That leaves a race window
open for the backend going into connected state before the watch is
active.  If that happens the frontend doesn't notice the backend is
ready and never ever goes into connected state ...

cheers,
  Gerd

-- 
http://kraxel.fedorapeople.org/xenner/

             reply	other threads:[~2008-07-24 14:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-24 14:15 Gerd Hoffmann [this message]
2008-07-24 14:23 ` [BUG] race condition in blkfront (probably other frontends too) Keir Fraser
2008-07-24 15:31   ` Gerd Hoffmann

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=48888E6B.9090607@redhat.com \
    --to=kraxel@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.