All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luben Tuikov <luben@splentec.com>
To: linux-scsi <linux-scsi@vger.kernel.org>
Subject: Q: relationship between can_queue and cmd_per_lun?
Date: Fri, 21 Jun 2002 15:40:24 -0400	[thread overview]
Message-ID: <3D138128.C25C70D5@splentec.com> (raw)

Is there any relationship between Scsi_Host::can_queue
and Scsi_Host::cmd_per_lun?

Given that there is only one device (one target
with a signle LUN) on a Scsi_Host, then what would
be the sense of can_queue=255 and cmd_per_lun=1?
(other than calling queuecommand() vs the older if.)

If there's a relationship, according to my understanding,
can_queue = LUN present * targets present * cmd_per_lun,
or the more general:
can_queue = \sum_Targets{\sum_Target_LUNS{cmd_per_This_LUN}}.

Can someone shed some light on this?

Also is there any way of finding the tagged queue depth,
other than tracking TASK SET FULL status code?

TIA,
-- 
Luben

             reply	other threads:[~2002-06-21 19:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-21 19:40 Luben Tuikov [this message]
2002-06-21 19:55 ` Q: relationship between can_queue and cmd_per_lun? Doug Ledford
2002-06-21 21:17   ` Luben Tuikov

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=3D138128.C25C70D5@splentec.com \
    --to=luben@splentec.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.