Re: Silicon Image 3112A SATA trouble

From: Vojtech Pavlik
Date: Sun Nov 30 2003 - 12:58:43 EST


On Sun, Nov 30, 2003 at 06:10:06PM +0100, Jens Axboe wrote:

> On Sun, Nov 30 2003, Jeff Garzik wrote:
> > Bartlomiej Zolnierkiewicz wrote:
> > >On Sunday 30 of November 2003 17:51, Jens Axboe wrote:
> > >>>Tangent: My non-pessimistic fix will involve submitting a single sector
> > >>>DMA r/w taskfile manually, then proceeding with the remaining sectors in
> > >>>another r/w taskfile. This doubles the interrupts on the affected
> > >>>chipset/drive combos, but still allows large requests. I'm not terribly
> > >>
> > >>Or split the request 50/50.
> > >
> > >
> > >We can't - hardware will lock up.
> >
> > Well, the constraint we must satisfy is
> >
> > sector_count % 15 != 1
>
> (sector_count % 15 != 1) && (sector_count != 1)
>
> to be more precise :)

I think you wanted to say:

(sector_count % 15 != 1) || (sector_count == 1)

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/