pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Andres Freund <andres@anarazel.de>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Klein <brucek@gmail.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2
Date: Mon, 18 Feb 2019 10:19:15 +0900
Message-ID: <20190218011915.GG1864@paquier.xyz> (raw)
In-Reply-To: <20190217185454.tqhy2qcldytnllm4@alap3.anarazel.de>
References: <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>
	<8B8CCA3A-83AF-43BA-A773-9C4160BF866E@anarazel.de>
	<CAEepm=3njGdqCCPRvTGYmdCo3WqDQR6_d86hsiUKY9shDFXU7w@mail.gmail.com>
	<26906.1550332575@sss.pgh.pa.us>
	<CAEepm=1FGo=ACPKRmAxvb53mBwyVC=TDwTE0DMzkWjdbAYw7sw@mail.gmail.com>
	<20190217185454.tqhy2qcldytnllm4@alap3.anarazel.de>

On Sun, Feb 17, 2019 at 10:54:54AM -0800, Andres Freund wrote:
> On 2019-02-17 23:29:09 +1300, Thomas Munro wrote:
>> Hmm.  Well, at least ENOSPC should be treated the same way as EIO.
>> Here's an experiment that seems to confirm some speculations about NFS
>> on Linux from the earlier threads:
> 
> I wish we'd' a good way to have test scripts in the tree for something
> like that, but using postgres. Unfortunately it's not easy to write
> portable setup scripts for it.

Yes, it seems to me as well that ENOSPC should be treated as much as
EIO.  Just looking at the code for data_sync_retry we should really
have some errno filtering.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (35+ messages)  latest in thread

Message-ID: <20190218011915.GG1864@paquier.xyz>
Permalink:  ../20190218011915.GG1864@paquier.xyz/
Also on:    postgresql.org/message-id/20190218011915.GG1864@paquier.xyz

 · 

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: michael@paquier.xyz, andres@anarazel.de, thomas.munro@enterprisedb.com, 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: <20190218011915.GG1864@paquier.xyz>
  References: <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> <8B8CCA3A-83AF-43BA-A773-9C4160BF866E@anarazel.de> <CAEepm=3njGdqCCPRvTGYmdCo3WqDQR6_d86hsiUKY9shDFXU7w@mail.gmail.com> <26906.1550332575@sss.pgh.pa.us> <CAEepm=1FGo=ACPKRmAxvb53mBwyVC=TDwTE0DMzkWjdbAYw7sw@mail.gmail.com> <20190217185454.tqhy2qcldytnllm4@alap3.anarazel.de> <20190218011915.GG1864@paquier.xyz>

* 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