Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp793195ybh; Tue, 21 Jul 2020 08:05:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy76dA9kyyVo1/1eDBO1qxKkwN7oa454OCWjGcGrZOJJ7IjvF6PvSxZAzmFIMYpTL2NTuc4 X-Received: by 2002:a05:6402:363:: with SMTP id s3mr25558094edw.238.1595343914406; Tue, 21 Jul 2020 08:05:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595343914; cv=none; d=google.com; s=arc-20160816; b=qYrA37YNZc4tC6feZTqyYbQtbWX8ZCSnznLQpPA9FeooV26Cy0IDOQkfsy+O1+bmsQ slrvRuUGiPPUzwFP5Rx+2AcsPYS4aqFrWQxiHKR+92skHT3svlY2SQ9PhXpID4AiUQ6O py+BtuH82drVAsPeMf7201ocBs89QHlK90a3CbLn7DFPDkN+/1w6hynhLTvhZFBtC/w3 BLu1lQLEa6Q7noQ2w9Zc+ApzhH7yh+yKumSMm0KUwooPGZ96EAgVP6MaHoh8WekuLNCJ HoyILqTqRLlvyYyEaqrvCp+loIVSRbbIxpDKm1hTqMFGO5zRALpiJyC6NCo0/WSYXJuI gdJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Oknj1lsxLPk9B6E8WnIuKiLyJqHZn66wTZ4CR0EU5sc=; b=PwwO/x/RiBSXuQ8P4s2mUPt0Za9L/OiSfQbVxk4Dd3xS5GdpZJt6g2j2H6T44ElG/o qNlP//y5Etol9XWs8IylWFhx6dQGfj3uiH0D4FLhB/BkA0mdleBq2Bg/TiwDQ4bXIKVG DOIahaUiUooRL0CT/bGdfSXv3tZdar8SsrdQPo+6L92aA26UsmtFPza9dGgMLQNx95wV 9e4T5yK4nFrdMIYFIm7T2jGR6ECr5EBLiFKodCuTeqpSKehyHHnJffWXjQ7LhfyrZ6qo dZWeLYwjwfSEubxcCeQrXexZ5Cmr4t4LF9uY9IAM5dQbWxPM7W1+sbuOtQxO1PsvykEo zOMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=m2d2MaWi; 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 d9si12296652eja.455.2020.07.21.08.04.48; Tue, 21 Jul 2020 08:05:14 -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; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=m2d2MaWi; 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 S1729311AbgGUPEk (ORCPT + 99 others); Tue, 21 Jul 2020 11:04:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726436AbgGUPEk (ORCPT ); Tue, 21 Jul 2020 11:04:40 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C57A6C061794; Tue, 21 Jul 2020 08:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Oknj1lsxLPk9B6E8WnIuKiLyJqHZn66wTZ4CR0EU5sc=; b=m2d2MaWiddXS5EgpeBH2Eryg9d j4yVYYcDGO2nVfI0VL+C+RCHxUdrp3PxcIVtVcSKzJOp0Yt91bkUHCLP3bDX0SjXIMI6XR9hJAAlE DDjLeA/gtAaUuLSJlsX4hqIzkV+wqn5qOeZZkfGPKjmmJeLt46uOOHq5a3wlxh/+QPq74EVy62UcA FdeOMcDg3VhVUU6qnjQJfR66h3v0i8USArJ5Q9JPC5ECO7Ym85iLYMWI41cQzJ2r173EhRaJ/Tvww e7jDAZngG+pQBgSr7f3cNVzoZagiCiAf8vi9cG9TGyq4dfOjSl+4w3V48fmO48V+IaF1Y3aOskUk3 fcnytZDA==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxtom-0002E4-T6; Tue, 21 Jul 2020 15:04:33 +0000 Date: Tue, 21 Jul 2020 16:04:32 +0100 From: Matthew Wilcox To: Christoph Hellwig Cc: 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: <20200721150432.GH15516@casper.infradead.org> References: <20200713074633.875946-1-hch@lst.de> <20200720215125.bfz7geaftocy4r5l@fiona> <20200721145313.GA9217@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200721145313.GA9217@lst.de> 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: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?