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

From Andres Freund
Subject Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2
Date
Msg-id 8B8CCA3A-83AF-43BA-A773-9C4160BF866E@anarazel.de
Whole thread Raw
In response to Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: WSL (windows subsystem on linux) users will need to turn fsyncoff as of 11.2
List pgsql-general

On February 15, 2019 9:44:50 AM PST, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>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.

That depends on the flags you pass in. By memory I don't think it eats an error with our flags in recent kernels, but
I'mnot sure. 

Andres

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


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2
Next
From: Adrian Klaver
Date:
Subject: Re: PostgreSql Version Compatibility With Apache ActiveMQ