[SCSI] mpt2sas: WarpDrive Infinite command retries due to wrong scsi command entry...
authorKashyap, Desai <kashyap.desai@lsi.com>
Tue, 5 Jul 2011 07:10:23 +0000 (12:40 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 26 Jul 2011 09:56:27 +0000 (13:56 +0400)
commit82a452581230b3ffc9d6475dffdb2568497b5fec
tree4a46487a0d0c9053688a192a297ddd6496aa7f6c
parentb2a554ff9ad5cdd8d00dac168f2bb3db7ccedb61
[SCSI] mpt2sas: WarpDrive Infinite command retries due to wrong scsi command entry in MPI message

Issue:

This issue is seen on LSI H/W WarpDrive SSS6200 When filed direct I/O
is tried as volume I/O the scmd field in internal lookup table get
cleared and because of that the retried volume I/O never gets reported
as completed to SML.

Result:

I/O timeout and Error handling thread will kicking off

Fix:

Setting back the scmd in the lookup table before retrying the failed
direct i/o

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/mpt2sas/mpt2sas_scsih.c