Skip to content

Commit

Permalink
dm-mpath-rdac: don't stomp on a requests transfer bit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
avasquez01 authored and Linus Torvalds committed Aug 27, 2007
1 parent 5a99efe commit f99ba18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/dm-mpath-rdac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f99ba18

Please sign in to comment.