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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bartlomiej Zolnierkiewicz <bzolnier@...>
Cc: <linux-kernel@...>, Alan Cox <alan@...>, Al Boldi <a1426z@...>, Jeff Garzik <jeff@...>, Zoltan Boszormenyi <zboszor@...>
Date: Sunday, January 6, 2008 - 2:08 pm

On Sun, 6 Jan 2008 17:27:38 +0100
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:

568.html
=A0=C2=A0=C2=A0=C2=A0=C2=A02008-01-06
=A02008-01-06
=A0=C2=A0=C2=A0[LIBATA] DMA control
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0libata.dm=
a=3D0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0Disable all PATA DMA like

I think that libata.dma=3D1 is designed to behave like=20
CONFIG_IDEDMA_ONLYDISK used to. "hdx=3Dnodma" is more fine-grained than
this.


Alan's original patch took care of PATA. SATA support was added
later by Jeff Garzik. Corrected documentation patch attached.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0libata.dm=
a=3D1=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0Disk DMA only
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0libata.dm=
a=3D2=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0ATAPI DMA only
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0libata.dm=
a=3D3=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0CF DMA only=20

This is also wrong, it should be "libata.dma=3D4=C2=A0=C2=A0=C2=A0=C2=A0 =
=C2=A0CF DMA only"
Thanks to Zoltan Boszormenyi <zboszor@dunaweb.hu> for catching this
mistake.

Revised patch attached.

Best,

Fran=C3=A7ois
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Re: Forcing modes in libata (was: SATA buffered ..., FD Cami, (Sun Jan 6, 2:08 pm)
Re: [PATCH] Re: Forcing modes in libata, Jeff Garzik, (Thu Jan 10, 5:56 pm)
Re: [PATCH] Re: Forcing modes in libata, FD Cami, (Fri Jan 11, 6:31 pm)
Re: [PATCH] Re: Forcing modes in libata (was: SATA buffered ..., Bartlomiej Zolnierkiewicz..., (Sun Jan 6, 3:09 pm)