Skip to content

Commit

Permalink
[SCSI] stex: fix queue depth setting
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Christie authored and James Bottomley committed Jul 26, 2008
1 parent d510d96 commit 5d90027
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 @@ -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;
}
Expand Down

0 comments on commit 5d90027

Please sign in to comment.