Re: [PATCH v6 11/13] Make scsi_remove_host() wait until error handling finished

2012-12-02 Thread Tejun Heo
Hello, Bart. On Wed, Nov 28, 2012 at 01:52:51PM +0100, 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_* functi

[PATCH v6 11/13] Make scsi_remove_host() wait until error handling finished

2012-11-28 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