LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Al Boldi <a1426z@gawab.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Forcing modes in libata (was: SATA buffered read VERY slow)
Date: Sat, 5 Jan 2008 16:30:16 +0000	[thread overview]
Message-ID: <20080105163016.608b1e7f@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <200801051641.03927.a1426z@gawab.com>

On Sat, 5 Jan 2008 16:41:03 +0300
Al Boldi <a1426z@gawab.com> 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

  reply	other threads:[~2008-01-05 16:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-05 13:41 Al Boldi
2008-01-05 16:30 ` Alan Cox [this message]
2008-01-06  5:03   ` Al Boldi
2008-01-06 13:36     ` Alan Cox
2008-01-06 15:21       ` [PATCH] " FD Cami
     [not found]         ` <200801061727.38206.bzolnier@gmail.com>
2008-01-06 18:08           ` FD Cami
2008-01-06 19:09             ` Bartlomiej Zolnierkiewicz
2008-01-10 21:56             ` [PATCH] Re: Forcing modes in libata Jeff Garzik
2008-01-11 22:31               ` FD Cami

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080105163016.608b1e7f@lxorguk.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=a1426z@gawab.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: Forcing modes in libata (was: SATA buffered read VERY slow)' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).