Re: [COMMITTERS] pgsql: Speed up CREATE DATABASE by deferring the fsyncs until after - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [COMMITTERS] pgsql: Speed up CREATE DATABASE by deferring the fsyncs until after
Date
Msg-id 201002151502.37654.andres@anarazel.de
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Speed up CREATE DATABASE by deferring the fsyncs until after  (marcin mank <marcin.mank@gmail.com>)
List pgsql-hackers
On Monday 15 February 2010 14:50:03 marcin mank wrote:
> Yes, the issue with initdb failing is unrelated (and I have no problem
> about the fs being unsupported). But fsync still DOES fail on
> directories from the mount.
> 
> >> But I would not be that sure that eg. NFS or something like that won`t
> >> complain.
> > 
> > It does not.
> 
> What if someone mounts a NFS share from a system that does not support
> directory fsync (per buildfarm: unixware, AIX) on Linux? I agree that
> this is asking for trouble, but...
Then nothing. The fsync via nfs or such is a local operation. There is nothing 
like a "fsync" command transported - i.e. the fsync controls the local cache 
not the remote one...

Andres


pgsql-hackers by date:

Previous
From: marcin mank
Date:
Subject: Re: [COMMITTERS] pgsql: Speed up CREATE DATABASE by deferring the fsyncs until after
Next
From: Alvaro Herrera
Date:
Subject: Re: Documentation build issues on Debian/Ubuntu