aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/multipath.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-10-17 12:00:23 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-17 12:00:23 -0400
commited09441dacc2a2d6c170aa3b1f79a041291a813f (patch)
tree95c35bdf4f0b679806984093dce627a66d0d7cf1 /drivers/md/multipath.c
parentb225ee5bed70254a100896c473e6dd8c2be45c18 (diff)
parent4c393e6e457fb41169dd110c1b96a138394c2d7b (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (39 commits) [SCSI] sd: fix compile failure with CONFIG_BLK_DEV_INTEGRITY=n libiscsi: fix locking in iscsi_eh_device_reset libiscsi: check reason why we are stopping iscsi session to determine error value [SCSI] iscsi_tcp: return a descriptive error value during connection errors [SCSI] libiscsi: rename host reset to target reset [SCSI] iscsi class: fix endpoint id handling [SCSI] libiscsi: Support drivers initiating session removal [SCSI] libiscsi: fix data corruption when target has to resend data-in packets [SCSI] sd: Switch kernel printing level for DIF messages [SCSI] sd: Correctly handle all combinations of DIF and DIX [SCSI] sd: Always print actual protection_type [SCSI] sd: Issue correct protection operation [SCSI] scsi_error: fix target reset handling [SCSI] lpfc 8.2.8 v2 : Add statistical reporting control and additional fc vendor events [SCSI] lpfc 8.2.8 v2 : Add sysfs control of target queue depth handling [SCSI] lpfc 8.2.8 v2 : Revert target busy in favor of transport disrupted [SCSI] scsi_dh_alua: remove REQ_NOMERGE [SCSI] lpfc 8.2.8 : update driver version to 8.2.8 [SCSI] lpfc 8.2.8 : Add MSI-X support [SCSI] lpfc 8.2.8 : Update driver to use new Host byte error code DID_TRANSPORT_DISRUPTED ...
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 8744014b9d8..d4ac47d1127 100644
--- a/drivers/md/multipath.c
+++ b/drivers/md/multipath.c
@@ -167,7 +167,7 @@ static int multipath_make_request (struct request_queue *q, struct bio * bio)
167 mp_bh->bio = *bio; 167 mp_bh->bio = *bio;
168 mp_bh->bio.bi_sector += multipath->rdev->data_offset; 168 mp_bh->bio.bi_sector += multipath->rdev->data_offset;
169 mp_bh->bio.bi_bdev = multipath->rdev->bdev; 169 mp_bh->bio.bi_bdev = multipath->rdev->bdev;
170 mp_bh->bio.bi_rw |= (1 << BIO_RW_FAILFAST); 170 mp_bh->bio.bi_rw |= (1 << BIO_RW_FAILFAST_TRANSPORT);
171 mp_bh->bio.bi_end_io = multipath_end_request; 171 mp_bh->bio.bi_end_io = multipath_end_request;
172 mp_bh->bio.bi_private = mp_bh; 172 mp_bh->bio.bi_private = mp_bh;
173 generic_make_request(&mp_bh->bio); 173 generic_make_request(&mp_bh->bio);
@@ -393,7 +393,7 @@ static void multipathd (mddev_t *mddev)
393 *bio = *(mp_bh->master_bio); 393 *bio = *(mp_bh->master_bio);
394 bio->bi_sector += conf->multipaths[mp_bh->path].rdev->data_offset; 394 bio->bi_sector += conf->multipaths[mp_bh->path].rdev->data_offset;
395 bio->bi_bdev = conf->multipaths[mp_bh->path].rdev->bdev; 395 bio->bi_bdev = conf->multipaths[mp_bh->path].rdev->bdev;
396 bio->bi_rw |= (1 << BIO_RW_FAILFAST); 396 bio->bi_rw |= (1 << BIO_RW_FAILFAST_TRANSPORT);
397 bio->bi_end_io = multipath_end_request; 397 bio->bi_end_io = multipath_end_request;
398 bio->bi_private = mp_bh; 398 bio->bi_private = mp_bh;
399 generic_make_request(bio); 399 generic_make_request(bio);