Subject: Re: CVS commit: syssrc [thorpej_scsipi]
To: Jason R Thorpe <thorpej@zembu.com>
From: Matthew Jacob <mjacob@feral.com>
List: tech-kern
Date: 04/02/2001 12:49:53
On Mon, 2 Apr 2001, Jason R Thorpe wrote:
> On Mon, Apr 02, 2001 at 07:59:01PM +0300, Manuel BOUYER wrote:
>
> > Module Name: syssrc
> > Committed By: bouyer
> > Date: Mon Apr 2 16:59:01 UTC 2001
> >
> > Modified Files:
> > syssrc/sys/dev/ic [thorpej_scsipi]: aic7xxx.c
> >
> > Log Message:
> > Use the tag type passed from upper level. Tag number is still handled locally
> > as they're allocated statically to ccbs.
>
> This is a little gross, and has to change.
>
> If a CCB happens to have a tag that is "too large" for a buggy drive,
> then any time that CCB is used, the command will fail, regardless if
> the queue on the drive is really full.
>
> The driver needs to be fixed to use the tag number specified by the
> midlayer, which uses a tag allocation algorithm that always uses the
> smallest tag value possible, to avoid this bug that appears in some
> drives (some HP drives, in particular, seem to be plagued by this).
In this model, is it acceptable to ignore tag value (not number) for HBAs that
don't allow you to specify tag value?
-matt