pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
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 12:44:50 -0500
Message-ID: <17265.1550252690@sss.pgh.pa.us> (raw)
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>

Andres Freund <andres@anarazel.de> writes:
> On February 15, 2019 9:13:10 AM PST, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> 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? 

Really?  The specification says that it starts I/O, not that it waits
around for any to finish.

The bigger picture here is that this set of patches seems to have moved
us too far in the direction of defending against hypothetical kernel
bugs, and too far away from real-world usability.  I am not happy with
the tradeoff.

			regards, tom lane




view thread (35+ messages)  latest in thread

Message-ID: <17265.1550252690@sss.pgh.pa.us>
Permalink:  ../17265.1550252690@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17265.1550252690@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, andres@anarazel.de, brucek@gmail.com
  Subject: Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2
  In-Reply-To: <17265.1550252690@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> <653E7ADD-3473-4F6E-B2EB-7FEF494DC5E1@anarazel.de> <17265.1550252690@sss.pgh.pa.us>

* 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