]> git.karo-electronics.de Git - mv-sheeva.git/commit
[SCSI] qlogicpti: fix timeout
authorMeelis Roos <mroos@linux.ee>
Fri, 7 Oct 2011 15:05:08 +0000 (18:05 +0300)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 16 Oct 2011 15:58:52 +0000 (10:58 -0500)
commit528c04ee6dcdb4591aab94a003e77e41cd7d2d23
tree22ee60fe9cd19cde2b59dbccfe72277455864ac4
parentbf81973a5d907ca1226e295ef67f650b8f4e9b4c
[SCSI] qlogicpti: fix timeout

qlogicpti times out for some tape library operations (like mtx
inventory). It seems SCSI command timeout is hardcoded into the driver.
Fix it by propagating the timeout from scsi request to the controller as
suggested by James Bottomley.

Tested on Sun Ultra 1 with Sun StorEdge L8 Autoloader.

Signed-off-by: Meelis Roos <mroos@linux.ee>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qlogicpti.c