pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Klein <brucek@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2
Date: Fri, 15 Feb 2019 09:41:16 -0800
Message-ID: <653E7ADD-3473-4F6E-B2EB-7FEF494DC5E1@anarazel.de> (raw)
In-Reply-To: <18784.1550250790@sss.pgh.pa.us>
References: <CA+mCpegfOUph2U4ZADtQT16dfbkjjYNJL1bSTWErsazaFjQW9A@mail.gmail.com>
	<30532.1550191685@sss.pgh.pa.us>
	<20190215170658.z5hj7irs6ig4l66r@alap3.anarazel.de>
	<18784.1550250790@sss.pgh.pa.us>



On February 15, 2019 9:13:10 AM PST, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>Andres Freund <andres@anarazel.de> writes:
>> I suspect that's because WSL has an empty implementation of
>> sync_file_range(), i.e. it unconditionally returns ENOSYS. But as
>> configure detects it, we still emit calls for it.  I guess we ought
>to
>> except ENOSYS for the cases where we do panic-on-fsync-failure?
>
>I'm of the opinion that we shouldn't be panicking for sync_file_range
>failure, period.

With some flags it's strictly required, it does"eat"errors depending on the flags. So I'm not sure I understand? 

Access
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.




view thread (35+ messages)  latest in thread

Message-ID: <653E7ADD-3473-4F6E-B2EB-7FEF494DC5E1@anarazel.de>
Permalink:  ../653E7ADD-3473-4F6E-B2EB-7FEF494DC5E1@anarazel.de/
Also on:    postgresql.org/message-id/653E7ADD-3473-4F6E-B2EB-7FEF494DC5E1@anarazel.de

 · 

reply

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-general@postgresql.org
  Cc: andres@anarazel.de, tgl@sss.pgh.pa.us, brucek@gmail.com
  Subject: Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2
  In-Reply-To: <653E7ADD-3473-4F6E-B2EB-7FEF494DC5E1@anarazel.de>
  References: <CA+mCpegfOUph2U4ZADtQT16dfbkjjYNJL1bSTWErsazaFjQW9A@mail.gmail.com> <30532.1550191685@sss.pgh.pa.us> <20190215170658.z5hj7irs6ig4l66r@alap3.anarazel.de> <18784.1550250790@sss.pgh.pa.us> <653E7ADD-3473-4F6E-B2EB-7FEF494DC5E1@anarazel.de>

* 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