Subject: Re: scsipi's adapter_q reference...
To: Jason R Thorpe <firstname.lastname@example.org>
From: Matthew Jacob <email@example.com>
Date: 05/18/2001 23:34:49
Thanks. That's clearer.
On Fri, 18 May 2001, Jason R Thorpe wrote:
> On Fri, May 18, 2001 at 05:34:46PM -0700, Matthew Jacob wrote:
> > * The channel_q member is used by the scsipi midlayer to queue up requests
> > * before and after the host adapter driver operates on the command. The
> > * host adapter driver may use this field for queueing purposes while the
> > * host adapter is running the command.
> Before the HBA is given the xfer, channel_q is the linkage on
> chan->chan_queue. If there is an error on the xfer after it is
> given to the HBA, channel_q is the linkage on chan->chan_complete.
> After the xfer has been taken of chan->chan_queue and given to the
> HBA, the HBA can use channel_q until it scsipi_done's the xfer, at
> which time it has to stop using channel_q.
> -- Jason R. Thorpe <firstname.lastname@example.org>