Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp796763ybh; Tue, 21 Jul 2020 08:09:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoqBnaePIP8povm87x31Mu8LGKWeaUl+H8bOdtCAPR7OWpNUgkgS7xF2hHXZIS6R0vKrRk X-Received: by 2002:a17:906:d92e:: with SMTP id rn14mr26972034ejb.314.1595344157145; Tue, 21 Jul 2020 08:09:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595344157; cv=none; d=google.com; s=arc-20160816; b=P8pVtlBo1V/XtpPDo4ydVv53DOSsWuPh93anHLfbNegbVJDzdaXRzmQN2Ak/JlnYay gjOhJyvFfIx1wm3Oj11JMGnlnOp8dNHI3rYLVfkedgACkeyqZTd1Jab9/+Fnpx3TjGqx WETzewMvZd2GCm8AQr90aMgkywdN9enqOmGW6W9rUj7SWaXlV51A7krVgzxa9xnWVF6L mN03oHcHF9wj35sJAcdbJsPMAl1bwNV3e2loDLz95oq6Nbt4sgfOWM0GERuuSx3Y+rMG +ukJCWwjGTGIcwOZvI+dTRcdVFSdBEJdvEncSsDWl7uPSb3eGDRhvZ1r2l1V4nVL3wzU wVwQ== 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=glGe//DJEjjzCxsZutWcNbOh5kzIG56zyy3hlNBSpRA=; b=i3mvcpLgyUJ+GmY5X5QCWN+0VPZYC665MZhjgfCCHwDmTrbESzg9MAcfYMn47A1R+g EE1KBfaHWzC9K3CPTTI4iCJJIsiz7livqqbPUBXXAV6nNxtQmciAHhqfUC8dF3ruLFlS HMsbx+GYLCi0Y5486tVPACMCGAX1Ue4q9lo9UB2ar/tNJCt2+e67yHJodIRfbk3EuvzN Ooys1akKBBf97IQYBrkGnAtBQctmpKBnkDSGSKJWKNMnp+RSl+Nomx7fjAJJ1dDOFV3G Bck/xqg73w22JWMAEYMTiO3uhY5D5m+W4zAwYlc821n6bVK5MuHgdx0ZBU5hv5CouHKT nvpQ== 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 p15si12337989ejg.22.2020.07.21.08.08.52; Tue, 21 Jul 2020 08:09:17 -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 S1729900AbgGUPGU (ORCPT + 99 others); Tue, 21 Jul 2020 11:06:20 -0400 Received: from verein.lst.de ([213.95.11.211]:52542 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726436AbgGUPGT (ORCPT ); Tue, 21 Jul 2020 11:06:19 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id EC46568B05; Tue, 21 Jul 2020 17:06:15 +0200 (CEST) Date: Tue, 21 Jul 2020 17:06:15 +0200 From: Christoph Hellwig To: Matthew Wilcox Cc: Christoph Hellwig , Goldwyn Rodrigues , Dave Chinner , Damien Le Moal , Naohiro Aota , Johannes Thumshirn , 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: <20200721150615.GA10330@lst.de> References: <20200713074633.875946-1-hch@lst.de> <20200720215125.bfz7geaftocy4r5l@fiona> <20200721145313.GA9217@lst.de> <20200721150432.GH15516@casper.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200721150432.GH15516@casper.infradead.org> 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 04:04:32PM +0100, Matthew Wilcox wrote: > On Tue, Jul 21, 2020 at 04:53:13PM +0200, Christoph Hellwig wrote: > > 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? > > I thought you were going to respin this with EREMCHG changed to ENOTBLK? Oh, true. I'll do that ASAP.