From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
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 12:13:10 -0500
Message-ID: <18784.1550250790@sss.pgh.pa.us> (raw)
In-Reply-To: <20190215170658.z5hj7irs6ig4l66r@alap3.anarazel.de>
References: <CA+mCpegfOUph2U4ZADtQT16dfbkjjYNJL1bSTWErsazaFjQW9A@mail.gmail.com>
<30532.1550191685@sss.pgh.pa.us>
<20190215170658.z5hj7irs6ig4l66r@alap3.anarazel.de>
Andres Freund <andres@anarazel.de> writes:
> I suspect that's because WSL has an empty implementation of
> sync_file_range(), i.e. it unconditionally returns ENOSYS. But as
> configure detects it, we still emit calls for it. I guess we ought to
> except ENOSYS for the cases where we do panic-on-fsync-failure?
I'm of the opinion that we shouldn't be panicking for sync_file_range
failure, period.
regards, tom lane
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, andres@anarazel.de, brucek@gmail.com
Subject: Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2
In-Reply-To: <18784.1550250790@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>
* 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