pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Bruce Klein <brucek@gmail.com>
Cc: Ravi Krishna <srkrishna100@aol.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: Thu, 14 Feb 2019 23:28:59 -0500
Message-ID: <6944.1550204939@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEepm=0z5Ev43XS6NcdEqw09sC7fCLa1dYUhaVPs30K0wPh-xA@mail.gmail.com>
References: <CA+mCpegfOUph2U4ZADtQT16dfbkjjYNJL1bSTWErsazaFjQW9A@mail.gmail.com>
	<30532.1550191685@sss.pgh.pa.us>
	<CA+mCpeg7Pzc75Rg9n9pka3duP0-MG4qMaDgX2Kb7OY=awCZOOQ@mail.gmail.com>
	<1770779398.1300635.1550195054827@mail.yahoo.com>
	<CA+mCpei1L_k-D4gORxzu2aQbsgVCqsuOXp5aS5zbCrpGsMdzDg@mail.gmail.com>
	<CAEepm=1pyzHRhU-e4Y=_50QDurOSOJcPMOKmhgA_PT+eTWhObg@mail.gmail.com>
	<CAEepm=0z5Ev43XS6NcdEqw09sC7fCLa1dYUhaVPs30K0wPh-xA@mail.gmail.com>

Thomas Munro <thomas.munro@enterprisedb.com> writes:
>> On Fri, Feb 15, 2019 at 2:56 PM Bruce Klein <brucek@gmail.com> wrote:
>>> In 11.1 did you see the message "WARNING: could not flush dirty data: Function not implemented"
>> Yes

> Here is a place where people go to complain about that:
> https://github.com/Microsoft/WSL/issues/645
> I suppose we could tolerate ENOSYS.

What I'm not grasping here is why you considered that sync_file_range
failure should be treated as a reason to PANIC in the first place?
Surely it is not fsync(), nor some facsimile thereof.  In fact, if
any of the branches in pg_flush_data really need the data_sync_elevel
treatment, somebody's mental model of that operation needs adjustment.
Maybe it's mine.

			regards, tom lane




view thread (35+ messages)  latest in thread

Message-ID: <6944.1550204939@sss.pgh.pa.us>
Permalink:  ../6944.1550204939@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6944.1550204939@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, thomas.munro@enterprisedb.com, brucek@gmail.com, srkrishna100@aol.com
  Subject: Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2
  In-Reply-To: <6944.1550204939@sss.pgh.pa.us>
  References: <CA+mCpegfOUph2U4ZADtQT16dfbkjjYNJL1bSTWErsazaFjQW9A@mail.gmail.com> <30532.1550191685@sss.pgh.pa.us> <CA+mCpeg7Pzc75Rg9n9pka3duP0-MG4qMaDgX2Kb7OY=awCZOOQ@mail.gmail.com> <1770779398.1300635.1550195054827@mail.yahoo.com> <CA+mCpei1L_k-D4gORxzu2aQbsgVCqsuOXp5aS5zbCrpGsMdzDg@mail.gmail.com> <CAEepm=1pyzHRhU-e4Y=_50QDurOSOJcPMOKmhgA_PT+eTWhObg@mail.gmail.com> <CAEepm=0z5Ev43XS6NcdEqw09sC7fCLa1dYUhaVPs30K0wPh-xA@mail.gmail.com> <6944.1550204939@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