Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guhXp-0005ii-De for pgsql-general@arkaria.postgresql.org; Fri, 15 Feb 2019 17:45:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1guhXo-0007oy-1R for pgsql-general@arkaria.postgresql.org; Fri, 15 Feb 2019 17:45:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guhXn-0007or-P5 for pgsql-general@lists.postgresql.org; Fri, 15 Feb 2019 17:44:59 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guhXl-0001EG-QG for pgsql-general@lists.postgresql.org; Fri, 15 Feb 2019 17:44:59 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x1FHiomM017266; Fri, 15 Feb 2019 12:44:50 -0500 From: Tom Lane To: Andres Freund cc: Bruce Klein , pgsql-general@lists.postgresql.org Subject: Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2 In-reply-to: <653E7ADD-3473-4F6E-B2EB-7FEF494DC5E1@anarazel.de> References: <30532.1550191685@sss.pgh.pa.us> <20190215170658.z5hj7irs6ig4l66r@alap3.anarazel.de> <18784.1550250790@sss.pgh.pa.us> <653E7ADD-3473-4F6E-B2EB-7FEF494DC5E1@anarazel.de> Comments: In-reply-to Andres Freund message dated "Fri, 15 Feb 2019 09:41:16 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17264.1550252690.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 15 Feb 2019 12:44:50 -0500 Message-ID: <17265.1550252690@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > On February 15, 2019 9:13:10 AM PST, Tom Lane 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. The bigger picture here is that this set of patches seems to have moved us too far in the direction of defending against hypothetical kernel bugs, and too far away from real-world usability. I am not happy with the tradeoff. regards, tom lane