summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2002-07-18 19:08:13 -0700
committerTrond Myklebust <trond.myklebust@fys.uio.no>2002-07-18 19:08:13 -0700
commita15b60a21c12a15519d55b772a41d7710e200b49 (patch)
tree1590b8c77b5c60edd61c8462c6557bfdfa0b9f11 /include/linux
parent2a9400e9457cb5bc2bb54c987f38b6f96fa5430e (diff)
[PATCH] MD - Pass the correct bdev to md_error
Pass the correct bdev to md_error After a call to generic_make_request, bio->bi_bdev can have changed (e.g. by a re-mapped like raid0). So we cannot trust it for reporting the source of an error. This patch takes care to find the correct bdev.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/raid/multipath.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/raid/multipath.h b/include/linux/raid/multipath.h
index 886448c201fc..bd245bbcd845 100644
--- a/include/linux/raid/multipath.h
+++ b/include/linux/raid/multipath.h
@@ -48,6 +48,7 @@ struct multipath_bh {
mddev_t *mddev;
struct bio *master_bio;
struct bio bio;
+ int path;
struct multipath_bh *next_mp; /* next for retry */
};
#endif