From: Brian King <brking@us.ibm.com>
To: linux-scsi@vger.kernel.org
Subject: scsi_tcq.h questions
Date: Mon, 02 Aug 2004 16:11:03 -0500 [thread overview]
Message-ID: <410EADE7.3050307@us.ibm.com> (raw)
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
reply other threads:[~2004-08-02 21:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=410EADE7.3050307@us.ibm.com \
--to=brking@us.ibm.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.