Re: Forcing modes in libata (was: SATA buffered read VERY slow)

From: Alan Cox
Date: Sat Jan 05 2008 - 11:32:22 EST


On Sat, 5 Jan 2008 16:41:03 +0300
Al Boldi <a1426z@xxxxxxxxx> wrote:

> What's hindering the ability to force a mode in libata, as is possible with
> the normal ide-driver?

We want it to be correct and race free. That means we have to synchronize
all the devices on the controller, quiesce them and recompute the speeds
for each device then turn them all back on and resume command processing.

It is quite hairy although Tejun's EH work has provided the framework for
all of this.

For now you can boot with libata.dma=1 to select DMA on disks but not CD
--
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/