]> err.no Git - linux-2.6/commit
[SCSI] mpt fusion: lock down ScsiLookup
authorEric Moore <eric.moore@lsi.com>
Sat, 29 Sep 2007 16:16:53 +0000 (10:16 -0600)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:52:15 +0000 (14:52 -0400)
commite8206381f5842269691f3164ec0d79b7059bd710
tree4d3db0df57f86b34425dcfe929c940d8d06fe614
parentbc6e089a13a5c0ac36247616baecd6fc77405e7f
[SCSI] mpt fusion: lock down ScsiLookup

ScsiLookup is an array of pending scmd pointers that the scsi lld
maintains. This array is touched from queuecommand, eh threads, and
interrupt context. This array should put under locks, hence this patch
to synchronize its access.  I've added some nice little function
wrappers for this, and moved the ScsiLookup array over to MPT_ADAPTER
struct.

Signed-off-by: Eric Moore <Eric.Moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/message/fusion/mptbase.h
drivers/message/fusion/mptfc.c
drivers/message/fusion/mptsas.c
drivers/message/fusion/mptscsih.c
drivers/message/fusion/mptspi.c