From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41533 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751032AbeDSCPv (ORCPT ); Wed, 18 Apr 2018 22:15:51 -0400 Date: Wed, 18 Apr 2018 19:15:48 -0700 From: "andres@anarazel.de" To: Matthew Wilcox Cc: Trond Myklebust , "david@fromorbit.com" , "jlayton@kernel.org" , "lsf-pc@lists.linux-foundation.org" , "linux-fsdevel@vger.kernel.org" Subject: Re: [Lsf-pc] [LSF/MM TOPIC] improving writeback error handling Message-ID: <20180419021548.sxx7ormrkvnrseys@alap3.anarazel.de> References: <1523963281.4779.21.camel@kernel.org> <20180417225309.GA27893@dastard> <1524067210.27056.28.camel@kernel.org> <20180419004411.GG27893@dastard> <1524102468.38378.12.camel@hammer.space> <20180419015723.GC16782@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180419015723.GC16782@bombadil.infradead.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 2018-04-18 18:57:23 -0700, Matthew Wilcox wrote: > On Thu, Apr 19, 2018 at 01:47:49AM +0000, Trond Myklebust wrote: > > If the main use case is something like Postgresql, where you care about > > just one or two critical files, rather than monitoring the entire > > filesystem could we perhaps use a dedicated mmap() mode? It should be > > possible to throw up a bitmap that displays the exact blocks or pages > > that are affected, once the file has been damaged. > > Perhaps we need to have a quick summary of the postgres problem ... > they're not concerned with "one or two files", otherwise they could > just keep those files open and the wb_err mechanism would work fine. > The problem is that they have too many files to keep open in their > checkpointer process, and when they come along and open the files, > they don't see the error.. Correct. Do you want a summary here or at LSF/MM? Thanks to Jon Corbet I've got a last minute invitation. Greetings, Andres Freund