Skip to contentSkip to conversation

Calling scsi_deactivate_tcq with active tags

DISCUSSION Brian King 1 participant 1 message Jul 27, 2004 SCSI

lore
Share & tools
lore

Brian King

author
#0 lore raw

I'm in the process of adding the proper scsi_activate_tcq/scsi_deactivate_tcq to the ipr driver and ran into a problem. There doesn't seem to be any way to safely call scsi_deactivate_tcq at runtime. I keep hitting the BUG(bqt->busy) check in blk_queue_free_tags. Is there a way for a LLD to be able to call this at runtime to a device that is being used? I tried doing a scsi_device_quiesce/scsi_device_resume around the scsi_deactivate_tcq call, but I still hit the problem.

Signature · 3 lines
Brian King
eServer Storage I/O
IBM Linux Technology Center