All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Frederic TEMPORELLI <frederic.temporelli@ext.bull.net>
Cc: linux-scsi@vger.kernel.org, dledford@redhat.com
Subject: Re: scsi_track_queue_full function - static values ?
Date: Fri, 10 Mar 2006 16:40:27 +0000	[thread overview]
Message-ID: <20060310164027.GA6397@infradead.org> (raw)
In-Reply-To: <440D8B7C.9020001@ext.bull.net>

On Tue, Mar 07, 2006 at 02:32:44PM +0100, Frederic TEMPORELLI wrote:
> I was looking at the scsi_track_queue_full (driver/scsi/scsi.c) function.
> 
> Can someone tell me how have been defined all the static values in this 
> function ?
> 
> - we may have (max) 16 (>>4) jiffies between calls (else there's no need to 
> call this function...),
> 
> - queue_full_depth_count should be > 10 (else queue depth still not 
> changed),
> 
> - if lun queue depth < 8, lun queue depth is set with cmd_per_lun
> (what's happen if cmd_per_lun > 8 ???)
> 
> 
> May someone add some #define for these values ?
> Is it a way to use 'auto-adapted' values ?

I think Doug Ledford wrote that code, I've added him to the cc list
as he's probably the best one to answer your question.

While we're at it, it would be nice if more drivers used this functionality..


  reply	other threads:[~2006-03-10 16:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-07 13:32 scsi_track_queue_full function - static values ? Frederic TEMPORELLI
2006-03-10 16:40 ` Christoph Hellwig [this message]
2006-03-10 18:20   ` Doug Ledford
2006-03-10 18:39     ` Arjan van de Ven
2006-03-10 19:16       ` Doug Ledford
2006-03-10 19:28         ` Arjan van de Ven
2006-03-13 13:33         ` Hannes Reinecke

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=20060310164027.GA6397@infradead.org \
    --to=hch@infradead.org \
    --cc=dledford@redhat.com \
    --cc=frederic.temporelli@ext.bull.net \
    --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.