Re: [PATCH v7 8/9] Make scsi_remove_host() wait until error handling finished

2012-12-06 Thread Hannes Reinecke
On 12/06/2012 04:59 PM, Bart Van Assche wrote: A SCSI LLD may start cleaning up host resources as soon as scsi_remove_host() returns. These host resources may be needed by the LLD in an implementation of one of the eh_* functions. So if one of the eh_* functions is in progress when scsi_remove_ho

[PATCH v7 8/9] Make scsi_remove_host() wait until error handling finished

2012-12-06 Thread Bart Van Assche
A SCSI LLD may start cleaning up host resources as soon as scsi_remove_host() returns. These host resources may be needed by the LLD in an implementation of one of the eh_* functions. So if one of the eh_* functions is in progress when scsi_remove_host() is invoked, wait until the eh_* function has