Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp785215ybh; Tue, 21 Jul 2020 07:55:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/d9d0XrNPqrfrBetx6RpVGaPsXVMoSDM66POu8pJa85D4eDW7R/aYGlosz6dnTdYFOOqR X-Received: by 2002:aa7:d845:: with SMTP id f5mr25657960eds.162.1595343348811; Tue, 21 Jul 2020 07:55:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595343348; cv=none; d=google.com; s=arc-20160816; b=tiqPYdLn1LLtsUwbHfehaISkbG1FTuiqvAc3zRYUm8q4mc9dSfNDWaSxbTjqXx7DDN 29nTKxOz49mr2tSf/kUpK0x6aGBj6lr28/hfnxXZU6C75TVpyZbmQt7dzUiTzmxCZXA6 X1ZCoz5Jo7SZ54q5C0qelIQRL0ubqKeiQtZ+RTg8aiKrJ2aV+cTtcGJW1U5Yv5xbwNVg jByzyu4o5g+JhxU9p/Sk0/xX2rEf8OJ5HQ+gKFsSO2IYfM4SprgUD4MYoB6W/LZ8iiFj bZs19GDLeGoi2j5/pBoqDKON6hhfyPmi37EW8Fm9DW50Bp99BQTnmNrjULfk4Y92oUJ1 gV/A== 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=lki5Yj2nHTYRRBsAEdLbPGU+GEuRBKv4Ug2tzGuxf1M=; b=LQDuZ54Ltftk3hJ+YFs53bHi9TblW3QuO3Xq7bzNZMi5OmJeKt8bBBI6Fad8JH1QkR GtUjWZWbkhwCsHdsy01yTJui3nD8K/95OGzelyuFVW9AMkZkGzqpgrpUZeAtTyCT1DC/ jVy6B0DQounlFz2Qkb6u21279SXz1OM0VHzb1T5B43BGb3ctV0HwFXqmvW7E9NK/bnJO t3o28ZhYoyZh3kmgAOe1c5ko6SJXPN6sLjX+zM4fs9UbyR9+gvVpEGJTSLkcVYhZ924m s3/vUR1WQB7pQioeH7BL382gZT7726NXYogGvoV1CzLk20W2Jsjk0JfDuaORtzY75iQm MnkA== 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 k3si12404614ejk.32.2020.07.21.07.55.16; Tue, 21 Jul 2020 07:55:48 -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 S1729647AbgGUOxT (ORCPT + 99 others); Tue, 21 Jul 2020 10:53:19 -0400 Received: from verein.lst.de ([213.95.11.211]:52480 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727941AbgGUOxS (ORCPT ); Tue, 21 Jul 2020 10:53:18 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 2E0DE68AFE; Tue, 21 Jul 2020 16:53:14 +0200 (CEST) Date: Tue, 21 Jul 2020 16:53:13 +0200 From: Christoph Hellwig To: Goldwyn Rodrigues Cc: Christoph Hellwig , Dave Chinner , 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 Subject: Re: RFC: iomap write invalidation Message-ID: <20200721145313.GA9217@lst.de> References: <20200713074633.875946-1-hch@lst.de> <20200720215125.bfz7geaftocy4r5l@fiona> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200720215125.bfz7geaftocy4r5l@fiona> 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 Mon, Jul 20, 2020 at 04:51:25PM -0500, Goldwyn Rodrigues wrote: > Hi Christoph, > > On 9:46 13/07, Christoph Hellwig wrote: > > Hi all, > > > > this series has two parts: the first one picks up Dave's patch to avoid > > invalidation entierly for reads, picked up deep down from the btrfs iomap > > thread. The second one falls back to buffered writes if invalidation fails > > instead of leaving a stale cache around. Let me know what you think about > > this approch. > > Which kernel version are these changes expected? > btrfs dio switch to iomap depends on this. No idea. Darrick, are you ok with picking this up soon so that Goldwyn can pull it in?