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 1gvXah-0008NJ-OY for pgsql-general@arkaria.postgresql.org; Mon, 18 Feb 2019 01:19:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gvXag-0006LR-4w for pgsql-general@arkaria.postgresql.org; Mon, 18 Feb 2019 01:19:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gvXaf-0006LK-PI for pgsql-general@lists.postgresql.org; Mon, 18 Feb 2019 01:19:25 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gvXad-0006rU-3J for pgsql-general@lists.postgresql.org; Mon, 18 Feb 2019 01:19:24 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6824D21EAE; Sun, 17 Feb 2019 20:19:22 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 17 Feb 2019 20:19:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=7D5H3LcmbzKfTl3qd1go33aRb1o 44a05AelQFuL25FM=; b=OwcOVWHGq7BmxQMWQ0gfntQZzDLEVlp9p495uI9H3cN 83r/hM0H5UK3TMcFRebAblJh8ny0oRl2RBa6sD0boPijlphGUY7VqYNx1r/1zuv4 /TSdPJ8Q9lyoQW9KwdXK/nMdjB5LbmTqXW7an8MFpgnK4n5GKtwkE128/2RpVsnE /tBcytPP9Hve4QN3x9wh5ZLEyQYIt2OzXs6dL28ZejSy81M8I6aIFrsccBBfTEtK 3d8BhgK0Nm9WlymwfwETKrSoqxQxCDutibfY41uwAhF5DjzOV8BYfeZaIYHgQKzl hKAEsqt3kIo+iohy6RcHCx9m5F8XGSmPrYIC1LDTojA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=7D5H3L cmbzKfTl3qd1go33aRb1o44a05AelQFuL25FM=; b=WsdrYHg49Ufg1OQNq3K/Ve ijEiU7p/anMIASX7Q29EAnW1vcs6QZB4aBwuyp2l2Wl55fFShfTKJIvtCXmwGteM ey02iNHyEEBEr+4Ltp/kgT0mulwFvz+DWmlhz5DyRcchxKsT5ARh9OXmHn5YTowD EntKmA5D33xb56A4+BLJzRBT1s2T6Aom2pVYMAJ3yo3C2U9ye21KOXCIKw7uXtYT CbrN7DT5KgLYGvjXVf22p2L3LTbMHlM9wYXXaewL0rBfFK3V+xR3mW9iWG1CBNq0 HuCPWp8t/1JhbyeOBt8LWUGDl2J06UolrNnOrF+Gj9eYYjSHlHlRv2kWyU03RYig == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrudduvddgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdejtd dmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgt hhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqne cukfhppeeiuddrvdduhedrudefjedrudeivdenucfrrghrrghmpehmrghilhhfrhhomhep mhhitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 83E21E44A2; Sun, 17 Feb 2019 20:19:18 -0500 (EST) Date: Mon, 18 Feb 2019 10:19:15 +0900 From: Michael Paquier To: Andres Freund Cc: Thomas Munro , Tom Lane , Bruce Klein , "pgsql-generallists.postgresql.org" Subject: Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2 Message-ID: <20190218011915.GG1864@paquier.xyz> 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> <17265.1550252690@sss.pgh.pa.us> <8B8CCA3A-83AF-43BA-A773-9C4160BF866E@anarazel.de> <26906.1550332575@sss.pgh.pa.us> <20190217185454.tqhy2qcldytnllm4@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uc35eWnScqDcQrv5" Content-Disposition: inline In-Reply-To: <20190217185454.tqhy2qcldytnllm4@alap3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --uc35eWnScqDcQrv5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 17, 2019 at 10:54:54AM -0800, Andres Freund wrote: > On 2019-02-17 23:29:09 +1300, Thomas Munro wrote: >> Hmm. Well, at least ENOSPC should be treated the same way as EIO. >> Here's an experiment that seems to confirm some speculations about NFS >> on Linux from the earlier threads: >=20 > I wish we'd' a good way to have test scripts in the tree for something > like that, but using postgres. Unfortunately it's not easy to write > portable setup scripts for it. Yes, it seems to me as well that ENOSPC should be treated as much as EIO. Just looking at the code for data_sync_retry we should really have some errno filtering. -- Michael --uc35eWnScqDcQrv5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlxqCBMACgkQnvQgOdby QH1lMhAAk/K0Yc8K1FB+MXlLfdAq1I+x7nrV/AQDajKdY8z2fgdqwlSnymOYeOzu VtnPsozOcEoCjGCD7PlcTD+H1TdMD9FgWjkht45yae85k3kKfvIpGggEhjsbqrWs MyKQU2RtwguX8cbgIDorCd38PWmbSFPXeEHOJBMnVhTpaS/z0p5PxDf08BXT9USo 9864+lXyVt/6vOJfk0ySDWgLXix5zApytMP15EaNnQFYAeiEsWul0ruZDysJtyf8 AyPMWXeC2Uz1J6JtKEo99SVfz04AoRXavadXRbymNn5NgQ9sDW1Olnc/K4VjkQ/w IdVCOXH3SYg2FIOXBHdt/L2TdGE2L4EQG4/dEjKl2u9SRvKiK17q9vnMU93WMtfm mH5XqkpoDE0j87U2PKm1tJte0I+mzVSgXYuO8MrDQVpx/UuA6GSFtLJMudOdDZVJ 7upjgiNivPH7I0jnaYAdWkhvRGpT6r1RIfmQPmoKAXyMVpCafr/hbg0gSlY6BHxw q4y5dQ+tZW4ydpnIpy0PKPkTlbQGzEU7FzLV03A/xMlaXz51tsh6u5Zkyg58wYyo XxiEl8JzcGNrQeCozKEEDyPz6nhZ4LDqp3k5/3EJ0/4TuXUGnkBWpx/uOaizegQf fQ87piFsAcAdYFRpZCPEpgTV5AhTufu3cBPS5sVyY+STwWb1JFw= =JcF4 -----END PGP SIGNATURE----- --uc35eWnScqDcQrv5--