From: Ragnar Kjørstad <postgres@ragnark.vestdata.no>
To: Sean Chittenden <sean@chittenden.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: fsync or fdatasync
Date: Tue, 10 Sep 2002 19:46:04 +0200
Message-ID: <20020910194604.B24188@vestdata.no> (raw)
In-Reply-To: <20020910003318.GO26147@ninja1.internal>
References: <alhp3l$11j9$1@news.hub.org>
<11753.1031590251@sss.pgh.pa.us>
<20020909234304.GK26147@ninja1.internal>
<20020910015207.U24188@vestdata.no>
<20020910001127.GM26147@ninja1.internal>
<20020910022820.W24188@vestdata.no>
<20020910003318.GO26147@ninja1.internal>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: postgres@ragnark.vestdata.no, sean@chittenden.org
Subject: Re: fsync or fdatasync
In-Reply-To: <20020910194604.B24188@vestdata.no>
References: <alhp3l$11j9$1@news.hub.org> <11753.1031590251@sss.pgh.pa.us> <20020909234304.GK26147@ninja1.internal> <20020910015207.U24188@vestdata.no> <20020910001127.GM26147@ninja1.internal> <20020910022820.W24188@vestdata.no> <20020910003318.GO26147@ninja1.internal> <20020910194604.B24188@vestdata.no>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox