Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 16:33:54 +0100 (CET)
From:      Søren Schmidt <sos@freebsd.dk>
To:        "Rogier R. Mulhuijzen" <drwilco@drwilco.net>
Cc:        freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Again Softupdates on 4.5
Message-ID:  <200201311533.g0VFXsj57794@freebsd.dk>
In-Reply-To: <5.1.0.14.0.20020131155013.01c870c8@mail.drwilco.net>

next in thread | previous in thread | raw e-mail | index | archive | help
It seems Rogier R. Mulhuijzen wrote:
> 
> >It sounds as if the default five seconds isn't always enough time for
> >your disk to do its job.  (I've only done poweroff on an idle system so
> >I haven't run into such a problem myself.)
> >
> >I don't see it would hurt anything for this default to be increased to
> >help out this problem.  But what value would be good?
> 
> Wouldn't the Right Thing (tm) be to ask the controllers/disk whether or not 
> their caches are clean? Assuming such a thing is even possible.

The proper thing is to flush the cache's on shutdown, the way it is now
all ATA disks are flushed on device close, problem is we newer close
the / device, which I found out some time after I did the flush code,
bit newer got around to fixing..

-Søren

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201311533.g0VFXsj57794>