projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d510d96
)
[SCSI] stex: fix queue depth setting
author
Mike Christie
<michaelc@cs.wisc.edu>
Sat, 12 Jul 2008 00:50:34 +0000
(19:50 -0500)
committer
James Bottomley
<James.Bottomley@HansenPartnership.com>
Sat, 26 Jul 2008 19:14:49 +0000
(15:14 -0400)
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>
drivers/scsi/stex.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/stex.c
b/drivers/scsi/stex.c
index
f308a03
..
3790906
100644
(file)
--- 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;
}