From: "Martin K. Petersen" <[email-masked]>

Integrity errors need to be passed to the owner of the integrity   
metadata for processing. Consequently EILSEQ should be passed up the
stack.

Cc: [email-masked]
Signed-off-by: Martin K. Petersen <[email-masked]>
Acked-by: Mike Snitzer <[email-masked]>
Signed-off-by: Alasdair G Kergon <[email-masked]>

---
 drivers/md/dm-mpath.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.39/drivers/md/dm-mpath.c
===================================================================
--- linux-2.6.39.orig/drivers/md/dm-mpath.c
+++ linux-2.6.39/drivers/md/dm-mpath.c
@@ -1290,7 +1290,7 @@ static int do_end_io(struct multipath *m
 	if (!error && !clone->errors)
 		return 0;	/* I/O complete */
 
-	if (error == -EOPNOTSUPP || error == -EREMOTEIO)
+	if (error == -EOPNOTSUPP || error == -EREMOTEIO || error == -EILSEQ)
 		return error;
 
 	if (mpio->pgpath)