From: Martin K. Petersen Date: Sun, 29 May 2011 12:02:55 +0000 (+0100) Subject: dm mpath: do not fail paths after integrity errors X-Git-Tag: v2.6.39.1~25 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7d65f8ababe778107b12acc7b1ab998c03cfe48c;p=karo-tx-linux.git dm mpath: do not fail paths after integrity errors commit 6f13f6fba76edc7d0e7580c5deee829d59a41b2f upstream. 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 Acked-by: Mike Snitzer Signed-off-by: Alasdair G Kergon Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index a550a057d991..aa4e570c2cb5 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)