LKML Archive on
help / color / mirror / Atom feed
From: "Eric D. Mudama" <>
To: Tom Vier <>
Subject: Re: Linux Kernel 2.6.6 IDE shutdown problems.
Date: Mon, 24 May 2004 11:16:56 -0600	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <20040524024136.GB2502@zero>

On Sun, May 23 at 22:41, Tom Vier wrote:
>On Mon, May 17, 2004 at 06:25:51PM -0400, Bill Davidsen wrote:
>> I would think that if the drive didn't properly flush cache on shutdown 
>> that it might cause corruption. Feel free to tell me no drive would 
>> bahave like that ;-)
>why not add a one or two second delay before? i doubt any drive holds its
>writeback that long.

That is an arbitrary delay that isn't guaranteed to work in all

FLUSH CACHE is the way to do this, complain to vendors that don't
support flush cache and get them to fix their drives.  (Like how Bart
spoke to me and we both 1) worked out a solution for current drives
and 2) fixed the root case in all future firmwares)

Picture a nice fast drive doing 100 writes/second to the media... if
you give it over 200 writes at a time, it'll occupy your 2 seconds.
Newer drives with 8MB or larger buffers are certainly capable of
caching a lot more than 200 writes...

Drives are getting smarter so they can better work around these sorts
of cases, but FLUSH CACHE (EXT) is the only way that should be
guaranteed to work.


Eric D. Mudama

  parent reply	other threads:[~2004-05-24 17:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-15 12:20 Justin Piszcz
2004-05-15 13:06 ` Bartlomiej Zolnierkiewicz
2004-05-17 22:25   ` Bill Davidsen
2004-05-24  2:41     ` Tom Vier
2004-05-24  3:09       ` Daniel Pittman
2004-05-24 17:16       ` Eric D. Mudama [this message]
2004-05-25  9:05         ` Giuliano Pochini
2004-05-25 15:03           ` Bartlomiej Zolnierkiewicz
2004-05-26 10:21             ` Ian Stirling
2004-05-25 17:02           ` Eric D. Mudama
  -- strict thread matches above, loose matches on Subject: below --
2004-05-15 14:59 Justin Piszcz
2004-05-15 12:02 Justin Piszcz

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:

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

  git send-email \ \ \ \ \
    --subject='Re: Linux Kernel 2.6.6 IDE shutdown problems.' \

* 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).