[SCSI] Fix error handling for DIF/DIX
commit3e695f89c5debb735e4ff051e9e58d8fb4e95110
authorMartin K. Petersen <martin.petersen@oracle.com>
Sun, 4 Jan 2009 08:04:31 +0000 (4 03:04 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 5 Jan 2009 15:02:28 +0000 (5 09:02 -0600)
treefebd0af71641b72a1c27115bc1b93c0e44cd11ea
parent4f5299ac4e3a03d5c596c00d726fa932c600609d
[SCSI] Fix error handling for DIF/DIX

patch

commit b60af5b0adf0da24c673598c8d3fb4d4189a15ce
Author: Alan Stern <stern@rowland.harvard.edu>
Date:   Mon Nov 3 15:56:47 2008 -0500

    [SCSI] simplify scsi_io_completion()

broke DIX error handling.  Also, we are now using EILSEQ to indicate
integrity errors to the upper layers (as opposed to regular EIO
failures).  This allows filesystems to inspect buffers and decide
whether to retry the I/O.  Update scsi_io_completion() accordingly.

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