Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful
Date
Msg-id 1B40A9EB-4DD1-4C38-B8FB-3FB0CDF5E3C0@anarazel.de
Whole thread Raw
In response to Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On May 25, 2015 8:52:33 AM PDT, Bruce Momjian <bruce@momjian.us> wrote:
>On Mon, May 25, 2015 at 04:37:59PM +0100, Greg Stark wrote:
>> What exactly is failing?
>> 
>> Is it that fsync is returning -1 ? Should we just ignore errors from
>> fsync if it happens in this stage? That might be safer than
>> determining which files should or shouldn't be fsynced.
>
>Interesting idea.  We could skip fsync -1 failures only for symbolic
>links.

Now there's already a thread on jackets about this.

Andres


--- 
Please excuse brevity and formatting - I am writing this on my mobile phone.



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful
Next
From: Tom Lane
Date:
Subject: Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful