Re: WSL (windows subsystem on linux) users will need to turn fsyncoff as of 11.2 - Mailing list pgsql-general

From Thomas Munro
Subject Re: WSL (windows subsystem on linux) users will need to turn fsyncoff as of 11.2
Date
Msg-id CAEepm=0z5Ev43XS6NcdEqw09sC7fCLa1dYUhaVPs30K0wPh-xA@mail.gmail.com
Whole thread Raw
In response to Re: WSL (windows subsystem on linux) users will need to turn fsyncoff as of 11.2  (Thomas Munro <thomas.munro@enterprisedb.com>)
Responses Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Fri, Feb 15, 2019 at 3:56 PM Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> 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
>
> I wonder if this is coming from sync_file_range(), which is not
> implemented on WSL according to random intergoogling, but probably
> appears as present to our configure script.  I find it harder to
> believe they didn't implement fsync().

Here is a place where people go to complain about that:

https://github.com/Microsoft/WSL/issues/645

I suppose we could tolerate ENOSYS.

-- 
Thomas Munro
http://www.enterprisedb.com


pgsql-general by date:

Previous
From: Thomas Munro
Date:
Subject: Re: WSL (windows subsystem on linux) users will need to turn fsyncoff as of 11.2
Next
From: Bruce Momjian
Date:
Subject: Re: Shared hosting with FDW on AWS RDS