public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Q: relationship between can_queue and cmd_per_lun?
@ 2002-06-21 19:40 Luben Tuikov
  2002-06-21 19:55 ` Doug Ledford
  0 siblings, 1 reply; 3+ messages in thread
From: Luben Tuikov @ 2002-06-21 19:40 UTC (permalink / raw)
  To: linux-scsi

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-21 21:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-21 19:40 Q: relationship between can_queue and cmd_per_lun? Luben Tuikov
2002-06-21 19:55 ` Doug Ledford
2002-06-21 21:17   ` Luben Tuikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox