Re: Asynchronous scsi scanning

From: Stefan Richter
Date: Fri May 18 2007 - 10:00:38 EST


Peter Jones wrote:
> So really, either way means we need to update the tools. It also
> doesn't really solve the problem -- when I insert "usb-storage", the
> SCSI scan may still finish while we're still enumerating the bus for USB
> devices. (I'd be willing to believe I'm wrong about this specific
> example, but I suspect the principle still applies for some other driver.)
>
> In practice, we wind up doing the compare/timeout loop as on
> /proc/scsi/scsi, but on /proc/bus/usb/devices or
> /sys/bus/ieee1394/drivers/sbp2 instead.

sbp2 and its successor fw-sbp2 are not yet integrated with
scsi_wait_scan, but should be _some_ day.
http://bugzilla.kernel.org/show_bug.cgi?id=3225#c2
--
Stefan Richter
-=====-=-=== -=-= =--=-
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/