]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
[SCSI] mpt2sas : Broadcast Primative AEN bug fix
authorEric Moore <eric.moore@lsi.com>
Tue, 21 Apr 2009 21:41:32 +0000 (15:41 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 27 Apr 2009 15:54:02 +0000 (10:54 -0500)
commit8901cbb45e2a6657adf0e6eea4276ef452dee011
tree39373e85c4019f1916b12dc477b851aa1f8a4db2
parentf0f9cc1fb8a21f3ff90900505fc82a43d29d0975
[SCSI] mpt2sas : Broadcast Primative AEN bug fix

Bug fix in the broadcast primative async event code where the driver would
stop sending tm queries after the first queury was completed. This was due
driver not reseting the tm_cmds.status field back to MPT2_CMD_NOT_USED after
completing a task management request.

An addtional fix adding sanity check to insure sas_device->starget set to NULL.
During multipath testing fail over/fail back, the mid layer was holding onto
sdev longer than the fail back period, thus starget was getting set to NULL
for device being added.

Signed-off-by: Eric Moore <eric.moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/mpt2sas/mpt2sas_scsih.c