Skip to content

Commit

Permalink
[SCSI] stex: switch to block timeout
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
James Bottomley authored and James Bottomley committed Dec 1, 2008
1 parent 9728c08 commit dc5c49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/stex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dc5c49b

Please sign in to comment.