Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1633145ybt; Sat, 20 Jun 2020 16:56:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZqjQLn1ksBmy9sy8l56+9eHsm5GX0rfvTjcIjZUCNy8PeXsbLDGxHCmcwsFPraEKE3syt X-Received: by 2002:a17:906:1496:: with SMTP id x22mr9257496ejc.161.1592697364848; Sat, 20 Jun 2020 16:56:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592697364; cv=none; d=google.com; s=arc-20160816; b=wMcohKXxvH1xDCihrG8XaqtrIOR7Ht6oI6V9VHfEO9feZExFixelBzth7Y1Dw4O5kx iJxGJQ9znFNoJRCZYVAPSv+CNlOjPaBh9R8LqbJK7BQIYSIiQW2cee2AGllweaLbl3FL LDOJq/nZfbW0nxZ9G3OwybH8YtuCtbwSy3b31oUhHaDLAdAYuAZ4n5SA8n9GE1yeakxm 3NAxGvVRqgscOtf0NINd5W5XVafzRBm/M9zqHK4zaDu96SId24ru9TtGwa6DXBEOThdg DXZn3HXGZgozFAesBdWthBw0QQYow6vfWwTsMdtL1Gh4tjlxYsfeK7La/mq+2u4X0ymG CN1w== 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=+N9JNNAJXMNaHfbArIH2ep/huF8ihuUZcEuEjMtZx1M=; b=yuCG6ZkYXAx2VlBfTzirczPwgZQgcbkhCdn3f3mFNUO9cnd1efObb5p1Pt6ERqAP78 Ir2zATOGlA+IGg8uVHeo8NBH4LZ+3X+cxMIZIti0VMCOj9N3JMVU/KZCSCwffuwtAEwu zeHPuKH3zPwg37JDBLzlQyZhMEhX3lzfzvbnHY6lP+VX4wwNzZ2vQdiW63TxfkqgpDZG fw+CgiL/l22OYZGrbIezqJXtIfODv6VlPmvTn26AUU76r84/d2/axsYJ1dzr1Hvt4CBG A+T3HozlXcJfa+muBsVf8uuSLoOGkg66bjAfIR8svEQjsEYAI6aksXj5OYb4x6Wvqx2Z hLYA== 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 n1si5947483edq.483.2020.06.20.16.55.33; Sat, 20 Jun 2020 16:56:04 -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 S1728524AbgFTXyU (ORCPT + 99 others); Sat, 20 Jun 2020 19:54:20 -0400 Received: from mail110.syd.optusnet.com.au ([211.29.132.97]:51523 "EHLO mail110.syd.optusnet.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728520AbgFTXyT (ORCPT ); Sat, 20 Jun 2020 19:54:19 -0400 Received: from dread.disaster.area (pa49-180-124-177.pa.nsw.optusnet.com.au [49.180.124.177]) by mail110.syd.optusnet.com.au (Postfix) with ESMTPS id 1CFA0106B74; Sun, 21 Jun 2020 09:54:13 +1000 (AEST) Received: from dave by dread.disaster.area with local (Exim 4.92.3) (envelope-from ) id 1jmnJI-0001EI-7F; Sun, 21 Jun 2020 09:54:08 +1000 Date: Sun, 21 Jun 2020 09:54:08 +1000 From: Dave Chinner To: "J. Bruce Fields" Cc: Masayoshi Mizuma , Eric Sandeen , "Darrick J. Wong" , Christoph Hellwig , Theodore Ts'o , Andreas Dilger , Alexander Viro , Masayoshi Mizuma , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-xfs , jlayton@redhat.com Subject: Re: [PATCH] fs: i_version mntopt gets visible through /proc/mounts Message-ID: <20200620235408.GS2005@dread.disaster.area> References: <20200618030539.GH2005@dread.disaster.area> <20200618034535.h5ho7pd4eilpbj3f@gabell> <20200618223948.GI2005@dread.disaster.area> <20200619022005.GA25414@fieldses.org> <20200619024455.GN2005@dread.disaster.area> <20200619204033.GB1564@fieldses.org> <20200619221044.GO2005@dread.disaster.area> <20200619222843.GB2650@fieldses.org> <20200620014957.GQ2005@dread.disaster.area> <20200620015633.GA1516@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200620015633.GA1516@fieldses.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.3 cv=X6os11be c=1 sm=1 tr=0 a=k3aV/LVJup6ZGWgigO6cSA==:117 a=k3aV/LVJup6ZGWgigO6cSA==:17 a=kj9zAlcOel0A:10 a=nTHF0DUjJn0A:10 a=7-415B0cAAAA:8 a=a_BdhvUkA2LIwlif5YsA:9 a=CjuIK1q_8ugA:10 a=biEYGPWJfzWAr4FL6Ov7:22 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Jun 19, 2020 at 09:56:33PM -0400, J. Bruce Fields wrote: > On Sat, Jun 20, 2020 at 11:49:57AM +1000, Dave Chinner wrote: > > On Fri, Jun 19, 2020 at 06:28:43PM -0400, J. Bruce Fields wrote: > > > On Sat, Jun 20, 2020 at 08:10:44AM +1000, Dave Chinner wrote: > > > > On Fri, Jun 19, 2020 at 04:40:33PM -0400, J. Bruce Fields wrote: > > > > > On Fri, Jun 19, 2020 at 12:44:55PM +1000, Dave Chinner wrote: > > > > > > On Thu, Jun 18, 2020 at 10:20:05PM -0400, J. Bruce Fields wrote: > > > > > > > My memory was that after Jeff Layton's i_version patches, there wasn't > > > > > > > really a significant performance hit any more, so the ability to turn it > > > > > > > off is no longer useful. > > > > > > > > > > > > Yes, I completely agree with you here. However, with some > > > > > > filesystems allowing it to be turned off, we can't just wave our > > > > > > hands and force enable the option. Those filesystems - if the > > > > > > maintainers chose to always enable iversion - will have to go > > > > > > through a mount option deprecation period before permanently > > > > > > enabling it. > > > > > > > > > > I don't understand why. > > > > > > > > > > The filesystem can continue to let people set iversion or noiversion as > > > > > they like, while under the covers behaving as if iversion is always set. > > > > > I can't see how that would break any application. (Or even how an > > > > > application would be able to detect that the filesystem was doing this.) > > > > > > > > It doesn't break functionality, but it affects performance. > > > > > > I thought you just agreed above that any performance hit was not > > > "significant". > > > > Yes, but that's just /my opinion/. > > > > However, other people have different opinions on this matter (and we > > know that from the people who considered XFS v4 -> v5 going slower > > because iversion a major regression), and so we must acknowledge > > those opinions even if we don't agree with them. > > Do you have any of those reports handy? Were there numbers? e.g. RH BZ #1355813 when v5 format was enabled by default in RHEL7. Numbers were 40-47% performance degradation for in-cache writes caused by the original IVERSION implementation using iozone. There were others I recall, all realted to similar high-IOP small random writes workloads typical of databases.... Cheers, Dave. -- Dave Chinner david@fromorbit.com