diff options
| author | Andrew Vasquez <[email protected]> | 2007-08-27 22:25:01 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-08-27 23:15:44 +0000 |
| commit | f99ba18a96195f047546bd515aabf81fda70ef09 (patch) | |
| tree | 2bb958ff686c32d5ffc58576f84d6a80f295ed51 | |
| parent | Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sp... (diff) | |
| download | kernel-f99ba18a96195f047546bd515aabf81fda70ef09.tar.gz kernel-f99ba18a96195f047546bd515aabf81fda70ef09.zip | |
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 <[email protected]>
Verified-by: Brian De Wolf <[email protected]>
Signed-off-by: Chandra Seetharaman <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
| -rw-r--r-- | drivers/md/dm-mpath-rdac.c | 2 |
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, rq->end_io_data = h; rq->timeout = h->timeout; rq->cmd_type = REQ_TYPE_BLOCK_PC; - rq->cmd_flags = REQ_FAILFAST | REQ_NOMERGE; + rq->cmd_flags |= REQ_FAILFAST | REQ_NOMERGE; return rq; } |
