aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorTony Battersby2009-01-08 12:58:04 -0500
committerJames Bottomley2009-03-12 12:58:17 -0500
commitc2fd206e08cd55e7ee0d865affc172eb5af01c16 (patch)
treec74efdea9b4015b9fcba7a90d229c341ee480237 /samples
parent783fa7311b2c639f39c6163f9fbb05253fb2d702 (diff)
[SCSI] sym53c8xx: use a queue depth of 1 for untagged devices
sym53c8xx uses a command queue depth of 2 for untagged devices, without good reason. This _mostly_ seems to work ok, but it has caused me some subtle problems. For example, I have an application where one thread sends write commands to a tape drive, and another thread sends log sense polling commands. With a queue depth of 2, the polling commands end up being starved for long periods of time while multiple write commands are serviced (this may also be related to the fact the the sg driver queues commands in LIFO order). This problem is fixed by changing the queue depth to 1 for untagged devices. I have tested this change extensively with many different tape drives, medium changers, and disk drives (disk drives of course use tagged commands and are therefore unaffected by this patch). Signed-off-by: Tony Battersby <tonyb@cybernetics.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions