[SCSI] Do not retry a request whose data integrity check failed
authorMartin K. Petersen <martin.petersen@oracle.com>
Thu, 17 Jul 2008 08:28:33 +0000 (04:28 -0400)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 26 Jul 2008 19:14:55 +0000 (15:14 -0400)
commit511e44f42e3239a4df77b8e0e46d294d98a768ad
treea0af26ec88cbf65b79aa23640035fbdb7fca795b
parent7027ad72a689797475973c6feb5f0b673382f779
[SCSI] Do not retry a request whose data integrity check failed

If initiator or target reject the I/O due to DIF errors there is no
point in retrying.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_error.c
drivers/scsi/scsi_lib.c