Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 304634765A3 for ; Tue, 10 Sep 2002 13:49:15 -0400 (EDT) Received: from stine.vestdata.no (stine.vestdata.no [195.204.68.10]) by postgresql.org (Postfix) with ESMTP id EE117476571 for ; Tue, 10 Sep 2002 13:49:13 -0400 (EDT) Received: (from ragnark@localhost) by stine.vestdata.no (8.11.6/8.11.2) id g8AHk4I23733; Tue, 10 Sep 2002 19:46:04 +0200 Date: Tue, 10 Sep 2002 19:46:04 +0200 From: =?iso-8859-1?Q?Ragnar_Kj=F8rstad?= To: Sean Chittenden Cc: pgsql-admin@postgresql.org Subject: Re: fsync or fdatasync Message-ID: <20020910194604.B24188@vestdata.no> References: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020910003318.GO26147@ninja1.internal>; from sean@chittenden.org on Mon, Sep 09, 2002 at 05:33:18PM -0700 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/115 X-Sequence-Number: 5654 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