On 04/05/2012 10:57 AM, Mike Christie wrote: > The only problem I could think of is if the scan_finished times out, > then do_scsi_scan_host will return and do_scan_async will call > scsi_finish_async_scan and scsi_remove_host will continue to run. > However, if scsi_scan.c was still running something like the sequential > scan/report luns scanning code or if the scsi eh was running and that is Ignore the eh comment. The ehhandler is stopped in scsi_host_dev_release. > what caused the scan_finished to timeout then that could be accessing > the scsi_host_template and other structs. > > I did not look at all the scan_finished callouts to see what they do. I looked at the iscsi and fc classes and they should be ok. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html