Skip to contentSkip to conversation

aic79xx: fix deadlock & cleanup

PATCH In review Hannes Reinecke 1 participant 1 message Feb 7, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

cover aic79xx: fix deadlock & cleanup

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

Signature · 9 lines
Dr. Hannes Reinecke			[email protected]
SuSE Linux Products GmbH		S390 & zSeries
Maxfeldstraße 5				+49 911 74053 688
90409 Nürnberg				http://www.suse.de

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html