All of lore.kernel.org
 help / color / mirror / Atom feed
* scsi_tcq.h questions
@ 2004-08-02 21:11 Brian King
  0 siblings, 0 replies; only message in thread
From: Brian King @ 2004-08-02 21:11 UTC (permalink / raw)
  To: linux-scsi

I have a question related to the utility functions found in scsi_tcq.h. 
The comment above scsi_activate_tcq indicates that the depth passed in 
should be the maximum depth the device can cope with and the real queue 
depth would be adjustable. This seems to contradict what is done in 
53c700.c, as queue depth is a sysfs file which is defaulted to 4 and can 
be raised to 16. Since scsi_adjust_queue_depth never calls 
blk_queue_resize_tags, we end up with a larger queue depth in scsi than 
the block layer is aware of.

So, which is correct? Should scsi_adjust_queue_depth be changed to call 
blk_queue_resize_tags and the comment be removed from scsi_activate_tcq, 
or should the call to scsi_adjust_queue_depth in scsi_activate_tcq be 
removed and the queue depth passed in scsi_activate_tcq be a true max 
queue depth, in which case 53c700 should be changed to reflect this?


-- 
Brian King
eServer Storage I/O
IBM Linux Technology Center


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-02 21:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-02 21:11 scsi_tcq.h questions Brian King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.