diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2011-05-29 13:02:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-03 09:32:36 +0900 |
commit | 7d65f8ababe778107b12acc7b1ab998c03cfe48c (patch) | |
tree | 6c93e9a57a61e2170a19a7d906e8add4aeda4a2f | |
parent | c43a24963bf8d5dc865186d51c63599a8e5b1fd8 (diff) | |
download | linux-stable-7d65f8ababe778107b12acc7b1ab998c03cfe48c.tar.gz linux-stable-7d65f8ababe778107b12acc7b1ab998c03cfe48c.tar.bz2 linux-stable-7d65f8ababe778107b12acc7b1ab998c03cfe48c.zip |
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 <martin.petersen@oracle.com>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | 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 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) |