Re: fsync or fdatasync - Mailing list pgsql-admin

From Ragnar Kjørstad
Subject Re: fsync or fdatasync
Date
Msg-id 20020910194604.B24188@vestdata.no
Whole thread Raw
In response to Re: fsync or fdatasync  (Sean Chittenden <sean@chittenden.org>)
List pgsql-admin
On Mon, Sep 09, 2002 at 05:33:18PM -0700, Sean Chittenden wrote:
> > Linux has had fsync for as long as I can remember.
> >
> > Maybe you have it confused with fsync() over NFS? The NFSv2
> > implementation on linux used to have "async" flag for nfs as default
> > - making it non NFS-compliant without reconfiguration.
>
> The fsync() call has existed, but in the kernel it didn't actually do
> anything is what I've been told.  -sc

I think that's just wrong.

I just downloaded linux-2.0.1 (from 1996) to check, and it _does_ fsync.
OK, so it does it pretty inefficiently, but it still does the job.




--
Ragnar Kjørstad
Big Storage

pgsql-admin by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: how can i get free space for database?
Next
From: Andrew Sullivan
Date:
Subject: Re: pg_restore : ident authentication problem