[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[dm-devel] [PATCH] dm: Integrity errors should not cause failover
- From: "Martin K. Petersen" <martin petersen oracle com>
- To: dm-devel redhat com
- Subject: [dm-devel] [PATCH] dm: Integrity errors should not cause failover
- Date: Tue, 08 Mar 2011 01:54:00 -0500
Integrity errors need to be passed to the owner of the integrity
metadata for processing. Consequently EILSEQ should be passed up the
stack.
Signed-off-by: Martin K. Petersen <martin petersen oracle com>
---
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c
index f336c69..57f7dd3 100644
--- a/drivers/md/dm-mpath.c
+++ b/drivers/md/dm-mpath.c
@@ -1215,7 +1215,7 @@ static int do_end_io(struct multipath *m, struct request *clone,
if (!error && !clone->errors)
return 0; /* I/O complete */
- if (error == -EOPNOTSUPP)
+ if (error == -EOPNOTSUPP || error == -EILSEQ)
return error;
if (mpio->pgpath)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]