Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp823867ybh; Tue, 21 Jul 2020 08:44:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLwhpFLwkhjF+x4MBPBpChHzd0pQ51Dxts3s8EEz5zRXbNrHEavpgojOmTKApEo4np2O1l X-Received: by 2002:a17:906:8392:: with SMTP id p18mr27477332ejx.24.1595346255511; Tue, 21 Jul 2020 08:44:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595346255; cv=none; d=google.com; s=arc-20160816; b=OVz15wZvNXPgjYf1hnLcgF4ONt9bhGojzFt3HqUKpkNMewQQmWN6QMfYLJFewj1VlI ug9xEoDoZLXKCGng5o2ZjZyl3mUcN5z/JQy1wYQ4VQoAwLnTLYwKA0k8nHvNNPu4bPxP a8UsOq3s8M8B2fC3NrZddGbYqA/2qMhRl/AHziLsJKXwjuJSOr8T6qqF39usidZygqU8 dOuqEPwU/NqV1aZYYfpRLn4EtKI76qsdQBzKoscDptOhdVJu3CcxMSVI2I9Zv/eKLnqg WetLhif0HqJep4orqb70L1r3i17ofgjROjyoAppuhuhxwZvwDbJ3u1I9idVGBJ/UM5KU 4JZw== 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=F+7SKSJtY9KnaxaAdgVBYpmZDn2Dv6uG2qk02MLgqxw=; b=Yp3n1siR2chNseIyS4EQehML8RBTypv4CBB48lnvXx67nvzC+VVXpugghU6FfdH4as 2HNoSIJYeD0/xuOJD2A3cSZ4UUBBVdim06xLS1yOPlx/Hp8SpudlIOIO9PmMEGxSfn+L kt0FhV/mCmmCgmA7b9R2hiurldsu+BQFUqf9ylBgBUV8uOrCGlc0d3iOS6SchMu+V2Mz jbK7beXvSIHLlpVhTFymv1mqvtW5/45peh1KDZSXHPQjtD3txBEFimirNcdcmopfhBJ5 YNTgML5MnG0Hy7bS3o5JsxE7xgS+EQU+SFwL1X6rI4H8TnVyQLCqyR7HaO/EmgP0ZrkK KofA== 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 x94si14573717ede.416.2020.07.21.08.43.51; Tue, 21 Jul 2020 08:44:15 -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 S1729708AbgGUPli (ORCPT + 99 others); Tue, 21 Jul 2020 11:41:38 -0400 Received: from verein.lst.de ([213.95.11.211]:52755 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726042AbgGUPli (ORCPT ); Tue, 21 Jul 2020 11:41:38 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 85F1F68AFE; Tue, 21 Jul 2020 17:41:33 +0200 (CEST) Date: Tue, 21 Jul 2020 17:41:32 +0200 From: Christoph Hellwig To: "Darrick J. Wong" Cc: Christoph Hellwig , Matthew Wilcox , 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, Michael Kerrisk , linux-man@vger.kernel.org Subject: Re: RFC: iomap write invalidation Message-ID: <20200721154132.GA11652@lst.de> References: <20200713074633.875946-1-hch@lst.de> <20200720215125.bfz7geaftocy4r5l@fiona> <20200721145313.GA9217@lst.de> <20200721150432.GH15516@casper.infradead.org> <20200721150615.GA10330@lst.de> <20200721151437.GI15516@casper.infradead.org> <20200721151616.GA11074@lst.de> <20200721152754.GD7597@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200721152754.GD7597@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 08:27:54AM -0700, Darrick J. Wong wrote: > On Tue, Jul 21, 2020 at 05:16:16PM +0200, Christoph Hellwig wrote: > > On Tue, Jul 21, 2020 at 04:14:37PM +0100, Matthew Wilcox wrote: > > > On Tue, Jul 21, 2020 at 05:06:15PM +0200, Christoph Hellwig wrote: > > > > On Tue, Jul 21, 2020 at 04:04:32PM +0100, Matthew Wilcox wrote: > > > > > I thought you were going to respin this with EREMCHG changed to ENOTBLK? > > > > > > > > Oh, true. I'll do that ASAP. > > > > > > Michael, could we add this to manpages? > > > > Umm, no. -ENOTBLK is internal - the file systems will retry using > > buffered I/O and the error shall never escape to userspace (or even the > > VFS for that matter). > > It's worth dropping a comment somewhere that ENOTBLK is the desired > "fall back to buffered" errcode, seeing as Dave and I missed that in > XFS... Sounds like a good idea, but what would a good place be?