diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-07-12 00:50:34 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-26 19:14:49 (GMT) |
commit | 5d90027fb579eee41ec1b61f23195ed2fdd51da2 (patch) | |
tree | b49bccaadd1d13d8d77ea2b05bb7eb388b0b5094 | |
parent | d510d965e17a81d4d41c03a3927f6ef450b73ff5 (diff) | |
download | linux-5d90027fb579eee41ec1b61f23195ed2fdd51da2.tar.xz |
[SCSI] stex: fix queue depth setting
We want to set the queue depth to something reasonable - not
the can_queue.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Cc: Ed Lin <ed.lin@promise.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r-- | drivers/scsi/stex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c index f308a03..3790906 100644 --- a/drivers/scsi/stex.c +++ b/drivers/scsi/stex.c @@ -467,7 +467,7 @@ stex_slave_alloc(struct scsi_device *sdev) /* Cheat: usually extracted from Inquiry data */ sdev->tagged_supported = 1; - scsi_activate_tcq(sdev, sdev->host->can_queue); + scsi_activate_tcq(sdev, ST_CMD_PER_LUN); return 0; } |