Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp518223rdb; Thu, 30 Nov 2023 10:36:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHAzrtiSjqYoIyN8YQR0yF4WYIJTnvt/BL0EGyfetAXuaHh2X/n8Di9cu9qgM5sGXrF1gGb X-Received: by 2002:a17:902:d508:b0:1cf:d597:194c with SMTP id b8-20020a170902d50800b001cfd597194cmr15330656plg.49.1701369372118; Thu, 30 Nov 2023 10:36:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701369372; cv=none; d=google.com; s=arc-20160816; b=n5EmvHMVdp+qg+hkfIJ69HmRvGVpKEnhA6xvtTu/l2x60rdp//NWgAyh1QT5DvgUYP XtjUiw3wcGbDrXGkSjVHw7AX/tTpMo0ysYwH/D3Q54BZmWk//1sw0CUx5T8rPIfs2Ad1 gqQph3nVeAG9bfZmMZOtOYrKkllWOTpwhE2fGyZTVdJIwIrGt6BLK7OIXrl5td7L+pOK OwMT60+vsJpTuY+yzVxsbKWo8mYG0O0fuTk7VoyZ+3ZGzYmRU25wmA++IdYN71vhuJWm TPeI+ZbRdKrxLb8MCMnPEwS0CaId9UxUksSQiFk8B7rXCSSMy+WtLYvaUij9/wgcBfLR oTdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qQKU50vKbXATuSXglJgEj5fFzmKu+YBO07b8qJOOdtA=; fh=0KwlhUMuknlVaNRSPCz1ThZ5KWJ275Z3XU8wcrQw7IY=; b=w9WA0ft+Eta73YXlEYk12DD8t0W9YfycI/tcE9/qL7FyALpW50+3NndgTX4ceGSM9X GlB40hWzZev7xPVeV97ZPxr+Q5wr39YL1V1RkgCojPYy44asKciSAE4rOlLp0S/TQ1RB ABrdo/uuHSJdB+UNqWp7Ngng81srvd1kRA5n3aGj0qnQdSXGXDx0Z6S/Pvhi6I4WgXxS gzbNrjfjxH0Op7+zOnA6Wb5FQn/23M1oh09/hUHH+aI3U1FAokLbhs3R1/ZQeOwA6GTX 8FWlxx85fUSGMjWk9jjFkYsp0hjxuFTDwkV3EgusB81j3CMABZ+wh5bGkYJdHrHUqT0N 8c3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=a27xugt2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id m7-20020a170902db0700b001cfd35ec1eesi1866509plx.519.2023.11.30.10.36.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 10:36:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=a27xugt2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 6B14980239D0; Thu, 30 Nov 2023 10:36:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346559AbjK3Sft (ORCPT + 99 others); Thu, 30 Nov 2023 13:35:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231959AbjK3Sfs (ORCPT ); Thu, 30 Nov 2023 13:35:48 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 259E810D0; Thu, 30 Nov 2023 10:35:54 -0800 (PST) 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=qQKU50vKbXATuSXglJgEj5fFzmKu+YBO07b8qJOOdtA=; b=a27xugt2s7VCRZavZTnsN7HQZG 49KGSFnP/lAr4dvK7i3HDJ4RMmY5/nj+Q/JtVwbX2EuSbtBP1TjOeJMiHUf17uTVAJdLo1VZZ8F7w f71Vg7/+DA5n6sUIJ030PbPVYq4bFV/2Q2Ch0CQ0wUYSClwjbvJxHySEDNe+p12tTfX4vqeMoQWG/ RhpFELpiLJn1M+ZCQSbXXoxilSLcvbQDkXyKOLFhzt6YooPUXC46hvY+yy3pK5WjJBP/Ib1g29m8f ILI8SIpHjF0/ndrR5p2Q8uZNWd++lBHHKEPQf23MjpSx3hP2l9JhKT9Be1BvgumVRJd2JPK/YsJ32 OHAR/qMA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1r8lss-00Ek8D-29; Thu, 30 Nov 2023 18:35:34 +0000 Date: Thu, 30 Nov 2023 18:35:34 +0000 From: Matthew Wilcox To: Yangtao Li Cc: Jaegeuk Kim , Chao Yu , Jonathan Corbet , Wenbo Hong , linux-f2fs-devel@lists.sourceforge.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] f2fs: add support for an i_version counter Message-ID: References: <20231130090413.1291703-1-frank.li@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231130090413.1291703-1-frank.li@vivo.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 30 Nov 2023 10:36:09 -0800 (PST) On Thu, Nov 30, 2023 at 02:04:09AM -0700, Yangtao Li wrote: > NFSv4 mandates a change attribute to avoid problems with timestamp > granularity, which Linux implements using the i_version counter. This is > particularly important when the underlying filesystem is fast. > > BTW introduce a new mount option to enable the iversion functionality, > and disabling it by default. Why do you want to replicate the mistake made in ext4 and undone by commit 1ff20307393e ?