lkml.org 
[lkml]   [2009]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectBug in SCSI async probing
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



\
 
 \ /
  Last update: 2009-05-26 17:25    [from the cache]
©2003-2011 Jasper Spaans