aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/multipath.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/multipath.c')
-rw-r--r--drivers/md/multipath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/multipath.c b/drivers/md/multipath.c
index 8bb8794129b3..7ae33ebaf7ec 100644
--- a/drivers/md/multipath.c
+++ b/drivers/md/multipath.c
@@ -176,7 +176,7 @@ static int multipath_make_request (struct request_queue *q, struct bio * bio)
176 mp_bh->bio = *bio; 176 mp_bh->bio = *bio;
177 mp_bh->bio.bi_sector += multipath->rdev->data_offset; 177 mp_bh->bio.bi_sector += multipath->rdev->data_offset;
178 mp_bh->bio.bi_bdev = multipath->rdev->bdev; 178 mp_bh->bio.bi_bdev = multipath->rdev->bdev;
179 mp_bh->bio.bi_rw |= (1 << BIO_RW_FAILFAST); 179 mp_bh->bio.bi_rw |= (1 << BIO_RW_FAILFAST_TRANSPORT);
180 mp_bh->bio.bi_end_io = multipath_end_request; 180 mp_bh->bio.bi_end_io = multipath_end_request;
181 mp_bh->bio.bi_private = mp_bh; 181 mp_bh->bio.bi_private = mp_bh;
182 generic_make_request(&mp_bh->bio); 182 generic_make_request(&mp_bh->bio);
@@ -402,7 +402,7 @@ static void multipathd (mddev_t *mddev)
402 *bio = *(mp_bh->master_bio); 402 *bio = *(mp_bh->master_bio);
403 bio->bi_sector += conf->multipaths[mp_bh->path].rdev->data_offset; 403 bio->bi_sector += conf->multipaths[mp_bh->path].rdev->data_offset;
404 bio->bi_bdev = conf->multipaths[mp_bh->path].rdev->bdev; 404 bio->bi_bdev = conf->multipaths[mp_bh->path].rdev->bdev;
405 bio->bi_rw |= (1 << BIO_RW_FAILFAST); 405 bio->bi_rw |= (1 << BIO_RW_FAILFAST_TRANSPORT);
406 bio->bi_end_io = multipath_end_request; 406 bio->bi_end_io = multipath_end_request;
407 bio->bi_private = mp_bh; 407 bio->bi_private = mp_bh;
408 generic_make_request(bio); 408 generic_make_request(bio);