On Fri, 17 Jan 2003, Oliver Neukum wrote: > Am Freitag, 17. Januar 2003 09:50 schrieb Mike Anderson: > > > > If the device disappears the host needs to return all IOs in flight with > > an error, and we need to ensure new ones do not start ( setting the > > device offline and maybe host_self_blocked). This is a start on getting > > the scsi_remove_host to succed. > > Could you provide some details?
Usb-storage does most of this already. When the device is unplugged, all current transactions return an error and any new ones return a device-not-ready code. But that doesn't solve the problem of removing the device's representation within SCSI and sysfs. Alan Stern ------------------------------------------------------- This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel