wait_event(sdev->host->host_wait, (sdev->host->shost_state != SHOST_RECOVERY)); 
wait_event(sdev->host->host_wait, !scsi_host_in_recovery(sdev->host)); 
int scsi_block_when_processing_errors(struct scsi_device *sdev){	int online;	wait_event(sdev->host->host_wait, (sdev->host->shost_state !=					   SHOST_RECOVERY));	online = scsi_device_online(sdev);	SCSI_LOG_ERROR_RECOVERY(5, printk("%s: rtn: %d\n", __FUNCTION__,					  online));	return online;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/939647ee308e0ad924e776657704c7bedd498664/scsi_error.c/clean/drivers/scsi/scsi_error.c