From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
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 09:49:56 -0800
Message-ID: <8B8CCA3A-83AF-43BA-A773-9C4160BF866E@anarazel.de> (raw)
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>
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'm not sure.
Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
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: andres@anarazel.de, 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: <8B8CCA3A-83AF-43BA-A773-9C4160BF866E@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> <17265.1550252690@sss.pgh.pa.us> <8B8CCA3A-83AF-43BA-A773-9C4160BF866E@anarazel.de>
* 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