Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2130760rda; Tue, 24 Oct 2023 13:19:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGLVi5Tn4us+pn1mtvqA0G9n5EYgxhBjpaGNZG+p6EJoF+lXzoInz/hPECiY/OeZd04NYFv X-Received: by 2002:a17:90a:f184:b0:27d:306d:71cb with SMTP id bv4-20020a17090af18400b0027d306d71cbmr22388822pjb.10.1698178767966; Tue, 24 Oct 2023 13:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698178767; cv=none; d=google.com; s=arc-20160816; b=QnVPrto2UhqvBLeuOFNeeArxKuzShdjXieEFOMWLk0yxmAidFo1dFXg1lneB8dxntN eWaVo05J5HNZcEqBwPkzFz505b9ouLEQzUls8RZDkm1VTC8N6LSqqi1JAe59xiNc4Lhf 3nk8tzQoPtjpwj+oOPK2mb7oCHR3qbjO1Uulgnk2t5R17RSvi/mTshAExO9Vy4CeqCCb AO/ihlf0sX+LLZzpxxMCxiNblQilJESX8k5aq3Ke2rlODY1f9VJ0oaXhvTq2Pxx9pwre EyNHLGA+pLENalPMCB1stH1jX3Op4549G4c62gnHTSKSj3Rt1S1dHyQsKibfSsbNRpEx mJSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=/jXqC7vbvPCmettO3DV3ntCzZ6lqFawlTkTOPw+dpkg=; fh=VkH1C3SgF7GPmIVFjOJTmnYX0jIPGZkzWy1N+ZO+JyE=; b=dqMdzwVgaTY3vMVrsDBSwMI4kqcQjHkKPcwwEMStNGgwLb30xN6k83tieBXkEPtnDK Kokgk9EH2ZRndLJpW4QR/aPI+HfsTb4hGFYykFLck6D5mtoidYWhyGibma+bIsZ/yhYN ZoDkIUJSu2gflJA3qnAMBCtPm1jSyGaBLD1r7aE/3a7KcplkYVPiTBhRUZH+nSu7DRWD MMw6ZdmldYzLly9R31ZDnwyi6DphOkYnnW22/YaZiTTvo2W+VJqLKmwn9hIvTx59J8Nd gw/JEXCV4JFHrPIxFhf+WP8wlb9XARvDg13rJIH5ubpn+cA0Ve3MNNN/peLPeqxT+OM+ fWcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cNFVEaHU; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id np13-20020a17090b4c4d00b0027740943ec2si11783403pjb.158.2023.10.24.13.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 13:19:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cNFVEaHU; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id C40FE8042ABF; Tue, 24 Oct 2023 13:19:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344189AbjJXUTX (ORCPT + 99 others); Tue, 24 Oct 2023 16:19:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343752AbjJXUTW (ORCPT ); Tue, 24 Oct 2023 16:19:22 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A70CD7A; Tue, 24 Oct 2023 13:19:21 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63283C433C7; Tue, 24 Oct 2023 20:19:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698178760; bh=/jXqC7vbvPCmettO3DV3ntCzZ6lqFawlTkTOPw+dpkg=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=cNFVEaHU/JSGFWmYYSgGbEUwcbU6E57XzHmF6PqxxLbNxe6qOiw0skHlgT2FAmt4E pi7vTvmXtMoxa+QN5NsjIdLL7cod+koC+MMTHlEpmPJUMjUC2aCFbd6V/QPJYLMFs8 HeGKpzhI7MJVwlt6Q6WqHDPcW/boyVT98qJk/U++wdAZeq1FkdpLsbC5n4rWR+02Sm 4Zz7+vBjkN7QlHu9uefsCd9OegvQAC62mZ6Y5yTZ4a6WJMK/LSFJN+jV5JHIiYtpq6 BfJsXaU5B0axY0tFkCUNbOVQ0CdE3cC5UHu6WxcIlleK2U9pGJasSUCR6GhHkowEoo o0g7zaVbON3Zw== Message-ID: <62828738f237c3d972f71f8da150b3366eb3e1a0.camel@kernel.org> Subject: Re: [PATCH RFC 2/9] timekeeping: new interfaces for multigrain timestamp handing From: Jeff Layton To: Linus Torvalds Cc: Dave Chinner , Kent Overstreet , Christian Brauner , Alexander Viro , John Stultz , Thomas Gleixner , Stephen Boyd , Chandan Babu R , "Darrick J. Wong" , Theodore Ts'o , Andreas Dilger , Chris Mason , Josef Bacik , David Sterba , Hugh Dickins , Andrew Morton , Amir Goldstein , Jan Kara , David Howells , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-mm@kvack.org, linux-nfs@vger.kernel.org Date: Tue, 24 Oct 2023 16:19:17 -0400 In-Reply-To: References: <5f96e69d438ab96099bb67d16b77583c99911caa.camel@kernel.org> <20231019-fluor-skifahren-ec74ceb6c63e@brauner> <0a1a847af4372e62000b259e992850527f587205.camel@kernel.org> <61b32a4093948ae1ae8603688793f07de764430f.camel@kernel.org> <2c74660bc44557dba8391758535e4012cbea3724.camel@kernel.org> Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 24 Oct 2023 13:19:24 -0700 (PDT) On Tue, 2023-10-24 at 09:40 -1000, Linus Torvalds wrote: > On Tue, 24 Oct 2023 at 09:07, Jeff Layton wrote: > >=20 > > The new flag idea is a good one. The catch though is that there are no > > readers of i_version in-kernel other than NFSD and IMA, so there would > > be no in-kernel users of I_VERSION_QUERIED_STRICT. >=20 > I actually see that as an absolute positive. >=20 > I think we should *conceptually* do those two flags, but then realize > that there are no users of the STRICT version, and just skip it. >=20 > So practically speaking, we'd end up with just a weaker version of > I_VERSION_QUERIED that is that "I don't care about atime" case. >=20 To be clear, this is not kernel-wide behavior. Most filesystems already don't bump their i_version on atime updates. XFS is the only one that does. ext4 used to do that too, but we fixed that several months ago. I did try to just fix XFS in the same way, but the patch was NAK'ed. > I really can't find any use that would *want* to see i_version updates > for any atime updates. Ever. >=20 > We may have had historical user interfaces for i_version, but I can't > find any currently. >=20 > But to be very very clear: I've only done some random grepping, and I > may have missed something. I'm not dismissing Dave's worries, and he > may well be entirely correct. >=20 > Somebody would need to do a much more careful check than my "I can't > find anything". Exactly. I'm not really an XFS guy, so I took those folks at their word that this was behavior that they just can't trivially change. None of the in-kernel callers that look at i_version want it to be incremented on atime-onlt updates, however. So IIRC, the objection was due to offline repair/analysis tools that depend this the value being incremented in a specific way. --=20 Jeff Layton