Skip to contentSkip to conversation

Assigning tag values?

DISCUSSION Jeff Garzik 2 participants 3 messages Jul 18, 2003 – Jul 20, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · Jeff Garzik

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.

Signature · 1 line
Jens Axboe
#2 lore raw
Quoted 10 lines · Jens Axboe
Quoted 3 lines · Jeff Garzik

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