Calling scsi_deactivate_tcq with active tags
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