[PATCH 0/3] aic79xx: fix deadlock & cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux