提交 5d90027f 编写于 作者: M Mike Christie 提交者: James Bottomley

[SCSI] stex: fix queue depth setting

We want to set the queue depth to something reasonable - not
the can_queue.
Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
Cc: Ed Lin <ed.lin@promise.com>
Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
上级 d510d965
...@@ -467,7 +467,7 @@ stex_slave_alloc(struct scsi_device *sdev) ...@@ -467,7 +467,7 @@ stex_slave_alloc(struct scsi_device *sdev)
/* Cheat: usually extracted from Inquiry data */ /* Cheat: usually extracted from Inquiry data */
sdev->tagged_supported = 1; sdev->tagged_supported = 1;
scsi_activate_tcq(sdev, sdev->host->can_queue); scsi_activate_tcq(sdev, ST_CMD_PER_LUN);
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册