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 1gm0bp-0008VU-6q for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Jan 2019 18:17:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gm0bm-00083G-R8 for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Jan 2019 18:17:10 +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 1gm0bm-00080L-Gc for pgsql-hackers@lists.postgresql.org; Tue, 22 Jan 2019 18:17:10 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gm0bj-0004t7-T1 for pgsql-hackers@postgresql.org; Tue, 22 Jan 2019 18:17:09 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id EC517161D; Tue, 22 Jan 2019 13:17:05 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 22 Jan 2019 13:17:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=drPYsMC0ZSCRBHV/q7Z2dl3KDAA 8Vc0UMx2NR8UOxos=; b=LldZJw/iyutMICyyJEUxW10IzkML8+LNVv6KNq/2A8g y0k1EE6TQOtDQxAR6qkg8vAY0C7ONG7FT3iDGsENkORYunTEMXqRZAr4m9qV0Krg BlxL9SFdscVvnaNmbjBMR+cTwAao6PUnZ3pkrgjIQOlQsPe1bY0ZNB/a3gxzUVyk ECSmSNivtWAVWm7tGfGUrnhdHpugKlfx7xkXzhZWfzD+nyBpfnHe/I18qChVBU42 llDMwlPLI8/UUmOb1t9wIzViQeo0X/D4NFprSCNLA0QNmTDaXEyQ4+SVa9BDVRCa wIiuSsY6p0bd6utIRp5zEuyczU2HAj1X+3P1AimamrQ== 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=fm1; bh=drPYsM C0ZSCRBHV/q7Z2dl3KDAA8Vc0UMx2NR8UOxos=; b=GVHAtsiKbZ5nxXuawgDJv2 8MkO1ZbzzpfkEoync6N4acwtQ9UKubUPhUdi0cqLHFXWLqSAFxOnNe0O5g1W3fNA EelvcxFvyiiv+TQuNDhg/Lw8NeYzR94Tlj9xCCqViKkNrL9xHoFdB0VC4zamNlTq Qf5+Uu3j04K1w9TsgjQPHcm8AldsayNKeHMsvcNvISbUb85oF8wbKLQf/nigMNwX rbYU7kw/SZ+NOxjoH4537/4Ufz5pm/0YtyGhLqs6/dNodQ4gd6cO1cG//xWcpGTe XUuzCD4apKyyvCl9xWAIznx3ZZ/2E8NQFGxJyhhDelq5T7+YLTFReP6gFzHPA9EA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrheekgddutdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvuffkfh ggtggujgesthdtredttddtvdenucfhrhhomheptehnughrvghsucfhrhgvuhhnugcuoegr nhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuffhomhgrihhnpehkvghrnhgvlhdroh hrghenucfkphepleekrddvuddtrddugedtrddujedunecurfgrrhgrmhepmhgrihhlfhhr ohhmpegrnhgurhgvshesrghnrghrrgiivghlrdguvgenucevlhhushhtvghrufhiiigvpe dt X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 31265E461F; Tue, 22 Jan 2019 13:17:04 -0500 (EST) Date: Tue, 22 Jan 2019 10:17:02 -0800 From: Andres Freund To: Kevin Grittner Cc: Thomas Munro , Dmitry Dolgov <9erthalion6@gmail.com>, Robert Haas , PostgreSQL-development , Shawn Debnath Subject: Re: Refactoring the checkpointer's fsync request queue Message-ID: <20190122181702.jueacsyffjwla3bb@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi,, On 2019-01-22 08:27:48 -0600, Kevin Grittner wrote: > With the help of VMware's Dirk Hohndel (VMware's Chief Open Source > Officer, a VP position near the top of the organization, and a > personal friend of Linus), I have been fortunate enough to make > contact directly with Linus Torvalds to discuss this issue. In emails > to me he has told me that this patch is no longer provisional: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fff75eb2a08c2ac96404a2d79685668f3cf5a7a3 Unfortunately, unless something has changed recently, that patch is *not* sufficient to really solve the issue - we don't guarantee that there's always an fd preventing the necessary information from being evicted from memory: Note that we might still lose the error if the inode gets evicted from the cache before anything can reopen it, but that was the case before errseq_t was merged. At LSF/MM we had some discussion about keeping inodes with unreported writeback errors around in the cache for longer (possibly indefinitely), but that's really a separate problem" And that's entirely possibly in postgres. The commit was dicussed on list too, btw... Greetings, Andres Freund