Subject: Re: more new scsi midlayer questions
To: Matthew Jacob <mjacob@feral.com>
From: Manuel Bouyer <bouyer@asim.lip6.fr>
List: tech-kern
Date: 05/21/2001 12:14:58
On Sat, May 19, 2001 at 10:28:16PM -0700, Matthew Jacob wrote:
> 
> 
> scsipi_run_queue is private.
> 
> The only function available for the HBA to get queues restarted is
> scsipi_channel_timed_thaw- but this forces you to call from a softcall
> stack (interrupt stack). 
> 
> Now that we can use threads to our heart's content, wouldn't it be nice to be
> able to simply call scsipi_run_queue directly?

I don't think you should call scsipi_run_queue() directly. If you want to
restart the queue it's because it has been stopped, so you need to thaw it.
Maybe we should expose scsipi_channel_taw(), but I think scsipi_run_queue()
should be keep private.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--