commit | e8206381f5842269691f3164ec0d79b7059bd710 | [log] [tgz] |
---|---|---|
author | Eric Moore <[email protected]> | Sat Sep 29 10:16:53 2007 -0600 |
committer | James Bottomley <[email protected]> | Fri Oct 12 14:52:15 2007 -0400 |
tree | 4d3db0df57f86b34425dcfe929c940d8d06fe614 | |
parent | bc6e089a13a5c0ac36247616baecd6fc77405e7f [diff] |
[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 <[email protected]> Signed-off-by: James Bottomley <[email protected]>