commit: 6f13f6fba76edc7d0e7580c5deee829d59a41b2f From: "Martin K. Petersen" <[email protected]> Date: Sun, 29 May 2011 13:02:55 +0100 Subject: [PATCH] dm mpath: do not fail paths after integrity errors
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 protected] Signed-off-by: Martin K. Petersen <[email protected]> Acked-by: Mike Snitzer <[email protected]> Signed-off-by: Alasdair G Kergon <[email protected]> --- drivers/md/dm-mpath.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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) _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
