Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Andrew Vasquez and committed by
Linus Torvalds
f99ba18a 5a99efea

+1 -1
+1 -1
drivers/md/dm-mpath-rdac.c
··· 292 292 rq->end_io_data = h; 293 293 rq->timeout = h->timeout; 294 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 296 return rq; 297 297 } 298 298