All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] race condition in blkfront (probably other frontends too).
@ 2008-07-24 14:15 Gerd Hoffmann
  2008-07-24 14:23 ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: Gerd Hoffmann @ 2008-07-24 14:15 UTC (permalink / raw)
  To: Xen Development Mailing List

  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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-24 15:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-24 14:15 [BUG] race condition in blkfront (probably other frontends too) Gerd Hoffmann
2008-07-24 14:23 ` Keir Fraser
2008-07-24 15:31   ` Gerd Hoffmann

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.