Alan Stern [EMAIL PROTECTED] wrote: > And Mike Anderson's response was > > http://marc.theaimsgroup.com/?l=linux-scsi&m=110538854224319&w=2 > > His explanation was "Currently scsi_host_cancel being called from > scsi_remove_host appears to not do anything as scsi_forget_host removes > the devices from the list it iterates over." I don't know whether this > problem has been fixed yet. >
No, this has not been fixed yet, but needs to be. In discussing this with Mike C today he had a patch that would drain the devices queues prior to scsi_forget_host returning which may help in this case. Along with Mike C's change we could remove the scsi_host_cancel code (since it does not do anything and when it did it was racey), and shutdown the error handler thread in scsi_remove_host (reduce possible callers into the LLDD post scsi_remove_host). Mike C or I will have something out soon on this. -andmike -- Michael Anderson [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

