public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Mark Lord <lkml@rtr.ca>
Cc: Robert Hancock <hancockr@shaw.ca>,
	Christoph Pleger <Christoph.Pleger@cs.uni-dortmund.de>,
	linux-kernel@vger.kernel.org
Subject: Re: PATA-disk named sda
Date: Fri, 6 Jul 2007 20:47:10 +0200	[thread overview]
Message-ID: <200707062047.10265.bzolnier@gmail.com> (raw)
In-Reply-To: <468E82C8.7060204@rtr.ca>

On Friday 06 July 2007, Mark Lord wrote:
> Robert Hancock wrote:
> >..
> > Currently the DMA, multi-sector mode, etc. are not controllable with 
> > hdparm with libata. libata is designed to use the fastest settings 
> > possible by default. In a lot of cases this messing with hdparm was only 
> > needed because of stupidity with the old IDE code (like DMA not being 
> > automatically enabled if the low-level driver was built modular).
> 
> Actually, most of the hdparm flags were put there to help test the IDE
> subsystem and to help debug the much stranger hardware it had to deal with.
> 
> "DMA off by default" was a Linus Torvalds request, to help ensure data safety
> with all of the weird and wonderful crap pre-standardization.

Exactly as Mark says.

I just want to add that "DMA off by default" hasn't been a case for a long
time now and since 2.6.21 the config option for "DMA on by default" is also
finally gone (to make a long story short: this was the best way to fix some
bugs while not causing regressions, not to mention that it was defaulting
to Y for years).

Thanks,
Bart

  reply	other threads:[~2007-07-06 18:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.VMMtK2yPXE5gkxuIC8MWb1aPBiQ@ifi.uio.no>
     [not found] ` <fa.23lYEA4r0kfTVDJ1AKcxSE4vGKA@ifi.uio.no>
     [not found]   ` <fa.DRDWDh+VAXx84D/6XHgY6h2wB+E@ifi.uio.no>
2007-07-06 14:39     ` PATA-disk named sda Robert Hancock
2007-07-06 17:58       ` Mark Lord
2007-07-06 18:47         ` Bartlomiej Zolnierkiewicz [this message]
2007-07-06 18:09       ` Bartlomiej Zolnierkiewicz
2007-07-06  8:21 Christoph Pleger
2007-07-06  9:13 ` Suren Karapetyan
2007-07-06  9:36   ` Christoph Pleger
2007-07-06  9:58     ` Suren Karapetyan
2007-07-06 17:55     ` Mark Lord
2007-07-07 18:33       ` Jan Engelhardt
2007-07-06  9:52 ` Alejandro Riveira Fernández
2007-07-06 10:11 ` Uwe Kiewel
2007-07-06 10:18 ` Alan Cox
2007-07-06 12:30   ` Christoph Pleger
2007-07-06 14:40     ` Gabriel C
2007-07-06 15:19     ` Alan Cox
2007-07-07 21:40     ` Rene Herman

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=200707062047.10265.bzolnier@gmail.com \
    --to=bzolnier@gmail.com \
    --cc=Christoph.Pleger@cs.uni-dortmund.de \
    --cc=hancockr@shaw.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@rtr.ca \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox