projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9728c08
)
[SCSI] stex: switch to block timeout
author
James Bottomley
<
[email protected]
>
Sun, 30 Nov 2008 16:38:08 +0000
(10:38 -0600)
committer
James Bottomley
<
[email protected]
>
Mon, 1 Dec 2008 17:16:27 +0000
(11:16 -0600)
stex sets the timeout in its slave configure routine for all devices.
This now needs to update the request queue timeout in block.
Cc: Ed Lin <
[email protected]
>
Signed-off-by: James Bottomley <
[email protected]
>
drivers/scsi/stex.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/stex.c
b/drivers/scsi/stex.c
index 3790906a77d10c06705b3616a22c5650d50f1948..2fa830c0be2790187e17e43cf6dc0ffb35df1da8 100644
(file)
--- a/
drivers/scsi/stex.c
+++ b/
drivers/scsi/stex.c
@@
-477,7
+477,7
@@
stex_slave_config(struct scsi_device *sdev)
{
sdev->use_10_for_rw = 1;
sdev->use_10_for_ms = 1;
-
sdev->timeout = 60 * HZ
;
+
blk_queue_rq_timeout(sdev->request_queue, 60 * HZ)
;
sdev->tagged_supported = 1;
return 0;