| From: | Ragnar Kjørstad <postgres(at)ragnark(dot)vestdata(dot)no> |
|---|---|
| To: | Sean Chittenden <sean(at)chittenden(dot)org> |
| Cc: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: fsync or fdatasync |
| Date: | 2002-09-10 17:46:04 |
| Message-ID: | 20020910194604.B24188@vestdata.no |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Sullivan | 2002-09-10 18:32:38 | Re: pg_restore : ident authentication problem |
| Previous Message | Bruce Momjian | 2002-09-10 17:33:20 | Re: how can i get free space for database? |