Re: [GENERAL] Understanding fsync

2008-06-19 Thread Sam Mason
On Thu, Jun 19, 2008 at 08:56:20AM +0800, Craig Ringer wrote: > >My original note was mainly in response to Craig's comment that implied > >fsync doing far more than it actually does. I remember seeing a few > >comments recently saying similar things about fsync, so sorry for > >picking specifical

Re: [GENERAL] Understanding fsync

2008-06-18 Thread Craig Ringer
Sam Mason wrote: My original note was mainly in response to Craig's comment that implied fsync doing far more than it actually does. I remember seeing a few comments recently saying similar things about fsync, so sorry for picking specifically on you Craig. Device/filesystem level snapshotting

Re: [GENERAL] Understanding fsync (was: Need Help Recovering from Botched Upgrade Attempt)

2008-06-18 Thread Sam Mason
On Wed, Jun 18, 2008 at 02:17:00PM -0400, Greg Smith wrote: > On Wed, 18 Jun 2008, Sam Mason wrote: > > >Isn't fsync only a side-effect of having a write-back cache between > >programs and the disk? This means it's only purpose is to ensure that > >the cache is consistent with what's on disk.

Re: [GENERAL] Understanding fsync (was: Need Help Recovering from Botched Upgrade Attempt)

2008-06-18 Thread Greg Smith
On Wed, 18 Jun 2008, Sam Mason wrote: Isn't fsync only a side-effect of having a write-back cache between programs and the disk? This means it's only purpose is to ensure that the cache is consistent with what's on disk. Because all programs running within a system are running on top of the