* [PATCH] dm mpath: integrity errors should not cause failover
@ 2011-03-28 19:37 Mike Snitzer
2011-03-28 19:48 ` Mike Snitzer
0 siblings, 1 reply; 3+ messages in thread
From: Mike Snitzer @ 2011-03-28 19:37 UTC (permalink / raw)
To: dm-devel; +Cc: James Bottomley, Mike Snitzer, Martin K. Petersen
From: "Martin K. Petersen" <martin.petersen@oracle.com>
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>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
---
drivers/md/dm-mpath.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
[resubmitting to dm-devel to get this in through the DM tree, next
merge window, now that this change missed the 2.6.39 merge window]
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c
index a550a05..aa4e570 100644
--- a/drivers/md/dm-mpath.c
+++ b/drivers/md/dm-mpath.c
@@ -1290,7 +1290,7 @@ static int do_end_io(struct multipath *m, struct request *clone,
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)
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: dm mpath: integrity errors should not cause failover
2011-03-28 19:37 [PATCH] dm mpath: integrity errors should not cause failover Mike Snitzer
@ 2011-03-28 19:48 ` Mike Snitzer
2011-03-29 0:13 ` Martin K. Petersen
0 siblings, 1 reply; 3+ messages in thread
From: Mike Snitzer @ 2011-03-28 19:48 UTC (permalink / raw)
To: dm-devel; +Cc: James Bottomley, Martin K. Petersen
On Mon, Mar 28 2011 at 3:37pm -0400,
Mike Snitzer <snitzer@redhat.com> wrote:
> From: "Martin K. Petersen" <martin.petersen@oracle.com>
>
> 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>
> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
> ---
> drivers/md/dm-mpath.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> [resubmitting to dm-devel to get this in through the DM tree, next
> merge window, now that this change missed the 2.6.39 merge window]
Though this change could easily be considered a fix (for those lucky
enough to even have a DIF/DIX capable mpath configuration)...
Anyway, please consider it on the DM queue.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dm mpath: integrity errors should not cause failover
2011-03-28 19:48 ` Mike Snitzer
@ 2011-03-29 0:13 ` Martin K. Petersen
0 siblings, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2011-03-29 0:13 UTC (permalink / raw)
To: Mike Snitzer; +Cc: dm-devel, James Bottomley, Martin K. Petersen
>>>>> "Mike" == Mike Snitzer <snitzer@redhat.com> writes:
Mike> Though this change could easily be considered a fix (for those
Mike> lucky enough to even have a DIF/DIX capable mpath
Mike> configuration)...
Yeah, I actually fixed this in my tree as a result of a user bug report.
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-29 0:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-28 19:37 [PATCH] dm mpath: integrity errors should not cause failover Mike Snitzer
2011-03-28 19:48 ` Mike Snitzer
2011-03-29 0:13 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox