dm mpath: integrity errors should not cause failover
PATCH 1/1 dm mpath: integrity errors should not cause failover
From: "Martin K. Petersen" <[email protected]>
Integrity errors need to be passed to the owner of the integrity metadata for processing. Consequently EILSEQ should be passed up the stack.
--- 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]
drivers/md/dm-mpath.c +1 -1
@@ -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)
Quoted 6 lines · Mike Snitzer
From: "Martin K. Petersen" <[email protected]>
Integrity errors need to be passed to the owner of the integrity metadata for processing. Consequently EILSEQ should be passed up the stack.
Quoted 8 lines
Signed-off-by Martin K. Petersen <[email protected]>Signed-off-by Mike Snitzer <[email protected]>--- 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.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Mike" == Mike Snitzer <[email protected]> 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.
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering