Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp263886ybh; Tue, 21 Jul 2020 23:20:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxb/aWu3/tDDXGLNLs6p+Iu/j3k1uTMULZL3SJQnD+16XFvDT0erbVXYZpcEqFWxRssnajU X-Received: by 2002:a05:6402:1507:: with SMTP id f7mr30454701edw.37.1595398819309; Tue, 21 Jul 2020 23:20:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595398819; cv=none; d=google.com; s=arc-20160816; b=B16XxwP5WkfgXL1g5XY9dMFDNLtTQ2lpNXPuIyScTsrr+PJnjGqjM/87fk8wQEnUvm QFVXOj7RSXZjubFyzXXt6gw2MBHJZgozamMz9ATw2sSGj8tNhYKpMHtChjkYBy8XxKQx QGYeVD/r6Q/07jzaOidkBP1Q1pDEVjVpl4vlcg9CeeUZAEF3bE5WGzzZ9rzjq4LOUyiK /DckysfIohyRgWL9X6+rA6BDihZ5mfPZRDMJ81CY/+k/BiYnu06tTe4xx23YWHaN/NdH sJLVXKcwWDxCvnoMugFV0CZ+V3ukkZknCTiaORa7Am6w/UNu+RlRfbxEwcg4+Cc1QPGg FzjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=RYgHD57Fr3ESN5jq6vHBpsq1HzmMx4UbtHin/0THEBw=; b=vgDiXdvmVBgAzQ0jdIc7Kv4OYTfyBFNWetIM2NnI5NPdkpIGiDo3rk0cHRTsMXjhvr jBo9a8sMBlnzjgHnmhHi2Q55eaxmPR3hl1Cl2CTbPNag65FK2emMbcEhpIeeu9/K0JgS vm7Nk00MmXzbkOK3yPnTIPIOzIcJOXyGHrBHnlPrcUtbvFUKJOEU9z53sn05eMWehF3W Usrs1SKSOqjbJr99kWz2vdQMazuLK8I00xGtot/1gbSRuDKm3t6O1H0HZSL/37388Xur xkqOYEQHSbrVO2L7Q+9NAMVtCTGMvBhsEK3xYlUFZzv0M8r+3c1BvOgqjfcuH4Zw7zGK TPlw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dh7si14356689edb.531.2020.07.21.23.19.45; Tue, 21 Jul 2020 23:20:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728338AbgGVGSz (ORCPT + 99 others); Wed, 22 Jul 2020 02:18:55 -0400 Received: from verein.lst.de ([213.95.11.211]:54935 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727867AbgGVGSz (ORCPT ); Wed, 22 Jul 2020 02:18:55 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id E8C1068AFE; Wed, 22 Jul 2020 08:18:50 +0200 (CEST) Date: Wed, 22 Jul 2020 08:18:50 +0200 From: Christoph Hellwig To: "Darrick J. Wong" Cc: Christoph Hellwig , Dave Chinner , Goldwyn Rodrigues , Damien Le Moal , Naohiro Aota , Johannes Thumshirn , Matthew Wilcox , linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, cluster-devel@redhat.com, linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, Dave Chinner , Goldwyn Rodrigues Subject: Re: [PATCH 3/3] iomap: fall back to buffered writes for invalidation failures Message-ID: <20200722061850.GA24799@lst.de> References: <20200721183157.202276-1-hch@lst.de> <20200721183157.202276-4-hch@lst.de> <20200721203749.GF3151642@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200721203749.GF3151642@magnolia> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Jul 21, 2020 at 01:37:49PM -0700, Darrick J. Wong wrote: > On Tue, Jul 21, 2020 at 08:31:57PM +0200, Christoph Hellwig wrote: > > Failing to invalid the page cache means data in incoherent, which is > > a very bad state for the system. Always fall back to buffered I/O > > through the page cache if we can't invalidate mappings. > > > > Signed-off-by: Christoph Hellwig > > Acked-by: Dave Chinner > > Reviewed-by: Goldwyn Rodrigues > > For the iomap and xfs parts, > Reviewed-by: Darrick J. Wong > > But I'd still like acks from Ted, Andreas, and Damien for ext4, gfs2, > and zonefs, respectively. > > (Particularly if anyone was harboring ideas about trying to get this in > before 5.10, though I've not yet heard anyone say that explicitly...) Why would we want to wait another whole merge window?