aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-mpath-rdac.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2007-08-27 18:25:01 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-08-27 19:15:44 -0400
commitf99ba18a96195f047546bd515aabf81fda70ef09 (patch)
tree2bb958ff686c32d5ffc58576f84d6a80f295ed51 /drivers/md/dm-mpath-rdac.c
parent5a99efeaa5c7139b7d76cbd5fb54fac664ba3da9 (diff)
dm-mpath-rdac: don't stomp on a requests transfer bit
Without this, we get qla2xxx complaining about "ISP System Error". What's happening here is the firmware is detecting a Xfer-ready from the storage when in fact the data-direction for a mode-select should be a write (DATA_OUT). The following patch fixes the problem (typo). Verified by Brian, as well. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Verified-by: Brian De Wolf <bldewolf@csupomona.edu> Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md/dm-mpath-rdac.c')
-rw-r--r--drivers/md/dm-mpath-rdac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-mpath-rdac.c b/drivers/md/dm-mpath-rdac.c
index 8b776b8cb7f7..16b161345775 100644
--- a/drivers/md/dm-mpath-rdac.c
+++ b/drivers/md/dm-mpath-rdac.c
@@ -292,7 +292,7 @@ static struct request *get_rdac_req(struct rdac_handler *h,
292 rq->end_io_data = h; 292 rq->end_io_data = h;
293 rq->timeout = h->timeout; 293 rq->timeout = h->timeout;
294 rq->cmd_type = REQ_TYPE_BLOCK_PC; 294 rq->cmd_type = REQ_TYPE_BLOCK_PC;
295 rq->cmd_flags = REQ_FAILFAST | REQ_NOMERGE; 295 rq->cmd_flags |= REQ_FAILFAST | REQ_NOMERGE;
296 return rq; 296 return rq;
297} 297}
298 298