Hi all, this patchset cleans up the aic79xx drivers. - Convert qfrozen count to atomic_t type. The qfrozen count is the low-level equivalent to the scsi-ml scsi_block_requests. Converting it to atomic_t gets rid of the ahd_lock / ahd_unlock and thereby removes some deadlocks in the recovery code. - use scsi-ml tcq functions. SCSI-Ml already provides some tcq funtions, so we might as well use them. - remove dead code Removing some dead code which have been left over. The first patch should fix the deadlocks people were seeing during recovery. Emmanuel, could you test them whether your problem is resolved (and ignoring the 'overlapped command error handling', as this patchset replaces it). Cheers, Hannes -- Dr. Hannes Reinecke hare@xxxxxxx SuSE Linux Products GmbH S390 & zSeries Maxfeldstraße 5 +49 911 74053 688 90409 Nürnberg http://www.suse.de - : 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