Re: sg regression in 2.6.16-rc5

From: Jeff Garzik
Date: Fri Mar 03 2006 - 15:27:52 EST


Linus Torvalds wrote:

On Fri, 3 Mar 2006, Jeff Garzik wrote:

256 max sectors IDE driver, 200 max sectors libata (due to driver not
hardware).


When I said "lower due to broken hw" I was more thinking about things like the SiIimage driver, which actually limits the rqsize to 15 sectors due to some strange hw interactions with seagate SATA devices.

Yep. There's trouble if the last FIS (sata packet, max 8K) is exactly 7.5K.


(It will then raise it back up to 128 if it's not a Seagate SATA drive. I forget what the exact issue was. Some strange corruption in some limited case, and not allowing big requests worked around it. There's some strange IDE quirks out there...).

Technically its

if (sectors % 15 == 1)
explode

:) Yes, IDE is a weird weird world...

Jeff


-
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/