public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Assigning tag values?
@ 2003-07-18  1:16 Jeff Garzik
  2003-07-18  7:00 ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Garzik @ 2003-07-18  1:16 UTC (permalink / raw)
  To: SCSI Mailing List

Is there a standard scsi way to assign tag values?

Can I use the block layer helpers, or do those not work for scsi?

	Jeff




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

* Re: Assigning tag values?
  2003-07-18  1:16 Assigning tag values? Jeff Garzik
@ 2003-07-18  7:00 ` Jens Axboe
  2003-07-20  3:04   ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2003-07-18  7:00 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: SCSI Mailing List

On Thu, Jul 17 2003, Jeff Garzik wrote:
> Is there a standard scsi way to assign tag values?
> 
> Can I use the block layer helpers, or do those not work for scsi?

Which kernel? In 2.5 you can get the scsi mid layer to do it for you
(via the block layer helpers), by calling scsi_activate_tcq(scsi_device,
depth). See scsi_tcq.h and 53c700.c for a working example.

-- 
Jens Axboe


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

* Re: Assigning tag values?
  2003-07-18  7:00 ` Jens Axboe
@ 2003-07-20  3:04   ` Jeff Garzik
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2003-07-20  3:04 UTC (permalink / raw)
  To: Jens Axboe; +Cc: SCSI Mailing List

Jens Axboe wrote:
> On Thu, Jul 17 2003, Jeff Garzik wrote:
> 
>>Is there a standard scsi way to assign tag values?
>>
>>Can I use the block layer helpers, or do those not work for scsi?
> 
> 
> Which kernel? In 2.5 you can get the scsi mid layer to do it for you
> (via the block layer helpers), by calling scsi_activate_tcq(scsi_device,
> depth). See scsi_tcq.h and 53c700.c for a working example.


That's what I was looking for, thanks.

for 2.4, multiple people told me "yeah, you have to make up your own tag 
values"

	Jeff




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

end of thread, other threads:[~2003-07-20  2:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-18  1:16 Assigning tag values? Jeff Garzik
2003-07-18  7:00 ` Jens Axboe
2003-07-20  3:04   ` Jeff Garzik

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