Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 1999 09:34:29 -0700 (PDT)
From:      Julian Elischer <julian@whistle.com>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Dan Nelson <dnelson@emsphone.com>, Brad Knowles <blk@skynet.be>, Thomas Dean <tomdean@ix.netcom.com>, freebsd-current@FreeBSD.ORG
Subject:   Re: More benchmarking stuff...
Message-ID:  <Pine.BSF.4.05.9909170933490.13667-100000@home.elischer.org>
In-Reply-To: <199909171611.JAA53554@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 17 Sep 1999, Matthew Dillon wrote:

> :> files sitting in unflushed disk caches and you reboot, those files are
> :> lost.  Softupdated just guarantees that the disk will be in a stable
> :> state after a crash, not that all data written before the crash will be
> :> available.
> :> 
> :
> :Soft updates guarantees that when an fsync() is done, it's on disk...
> 
>     Actually.... it doesn't.  I wish it did.  All softupdates does is 
>     guarentee that the on-disk image is stable, it doesn't guarentee
>     that the on-disk image has been synchronized to what the program
>     thinks it has written to the file.

According to kirk FSYNC() does the right thing and 'sync()' doesn't.


> 
>     					-Matt
> 					Matthew Dillon 
> 					<dillon@backplane.com>
> 
> 



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9909170933490.13667-100000>