public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Bug in SCSI async probing
@ 2009-05-26 15:22 Alan Stern
  2009-05-26 15:34 ` James Bottomley
  0 siblings, 1 reply; 9+ messages in thread
From: Alan Stern @ 2009-05-26 15:22 UTC (permalink / raw)
  To: James Bottomley, Arjan van de Ven
  Cc: SCSI development list, Kernel development list

James & Arjan:

Am I missing something here?  It looks like

	fastboot: make scsi probes asynchronous

has introduced a bug in the sd probing code.  AFAICT, there is now
nothing to prevent do_scan_async() from returning before
sd_probe_async() has run.

Doesn't this mean that there's nothing to prevent sd_remove() from 
being called and trying to unregister the disk _before_ 
sd_probe_async() has managed to register it?

Alan Stern


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

end of thread, other threads:[~2009-05-26 21:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-26 15:22 Bug in SCSI async probing Alan Stern
2009-05-26 15:34 ` James Bottomley
2009-05-26 18:34   ` Alan Stern
2009-05-26 18:56     ` James Bottomley
2009-05-26 19:48       ` Alan Stern
2009-05-26 20:35         ` James Bottomley
2009-05-26 21:04           ` Alan Stern
2009-05-26 21:23             ` James Bottomley
2009-05-26 21:52               ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox