Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp5056098rwn; Mon, 12 Sep 2022 03:51:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR6nejbAOrzh4FgNvZ/GbsFnr2ubLPSHGQt7xDjNn5GQR7v1gK0xCT6m8NMXswLugF6BG0Gi X-Received: by 2002:a17:907:2da2:b0:77c:1599:b3ad with SMTP id gt34-20020a1709072da200b0077c1599b3admr5185540ejc.213.1662979900351; Mon, 12 Sep 2022 03:51:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662979900; cv=none; d=google.com; s=arc-20160816; b=VzdTIy3Kemlr53pR4JDEu1fA0xuKy4xsGuxF/H5A3BK1GU152OtHyGVFUvQeU3Q/2z hz433x3FovxtLXLy6RhrGj4zzH2Mc1/oC2SpmFKJyU5a59KZIZsgh7AwJKD+gj/txkmV XvJncMBsm4uYfl4ZPgeQ0bHZIWiAoSXLAaT6dIq4Q9ohG0zNtClsyzfcorWTH3eakoMw bGQSKudPOHl1DlHWmmepGvcKpN/oBHFgPQetfOnrG821GtMpib9e64eT6eVv90zPkPQ4 NijfXGkM7I2HdPLFzgLJXtl0S0Hw22Gn8Hx0uQVOdYdbLckbcE+ZhTKzcnvrqdxGuDke Ds+A== 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=HFbxptHJbeklKZuBBOedjhhiYS8C1dAxfzpGwX+ybSk=; b=Ad0Sk7xYgv9vSkzkvn6v02wb2k2YyBSB+g5hfCIikE4x81gpQ9O2o7wLuPgjGM0NUG 9v3yIYEQpFXAGsC6ymfft3Bl4tPQpQBgQOk9K6G/2IAW260rlMg7oRhGMycreNNeSd21 HKmXY7EwuSPlRGJnBhYKilPDVNYgyH7ytIb73PZViZtDHtiCtoG6ftN67oPSM+GPAxQV TVrImAD4QROC+c9Yz9iGW2XpAcwlJeNWpLpoBL8fT0nNgMTwIM18mQWYmp3f9UVNtOWm TohrePJC7zPYuOElCo/Bl1qHIGg//Vt0CctQP4sM5BlwANVmETnToidGYZambAbChVVM uQ1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GX5cscun; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r17-20020a50c011000000b00446cd5b771dsi5695166edb.223.2022.09.12.03.51.09; Mon, 12 Sep 2022 03:51:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GX5cscun; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229701AbiILKnZ (ORCPT + 99 others); Mon, 12 Sep 2022 06:43:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229643AbiILKnY (ORCPT ); Mon, 12 Sep 2022 06:43:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E672BF66; Mon, 12 Sep 2022 03:43:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 129DA61185; Mon, 12 Sep 2022 10:43:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44202C433D6; Mon, 12 Sep 2022 10:43:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662979399; bh=HFbxptHJbeklKZuBBOedjhhiYS8C1dAxfzpGwX+ybSk=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=GX5cscunz3ZzTiwTAjcScG3yJHb8NYzqhsjWgk94imXnA38dLl47l9mHxlNRWXMYO wqV9nY9DGHy3fvOW+cqtR+ml5LLq1/z8Hs6Jzodkk74AN1MIo0kcrCOl/+ODfv7Ib+ 9EiubChBy/rQKqgkFgyvPp+2q9tXTQTXhHaFZJ0efGIErTvlqx5g4xjorZ1Ue/YyF2 grGGctcTD7co/myRa0zlHcDjfM+yEH0jgju9G+zJhl9fDQ7eCC4krnLzd3BN9G7ZRE AaX7p3FIESdIztsC7rzgoirgNMbZ7RlI91qch7rHRHv9t4wc0Vywim5iBnhICbSBRO b7RLygT77iPFw== Message-ID: Subject: Re: [man-pages RFC PATCH v4] statx, inode: document the new STATX_INO_VERSION field From: Jeff Layton To: NeilBrown Cc: "J. Bruce Fields" , Theodore Ts'o , Jan Kara , adilger.kernel@dilger.ca, djwong@kernel.org, david@fromorbit.com, trondmy@hammerspace.com, viro@zeniv.linux.org.uk, zohar@linux.ibm.com, xiubli@redhat.com, chuck.lever@oracle.com, lczerner@redhat.com, brauner@kernel.org, fweimer@redhat.com, linux-man@vger.kernel.org, linux-api@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, ceph-devel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-nfs@vger.kernel.org, linux-xfs@vger.kernel.org Date: Mon, 12 Sep 2022 06:43:15 -0400 In-Reply-To: <166284799157.30452.4308111193560234334@noble.neil.brown.name> References: <79aaf122743a295ddab9525d9847ac767a3942aa.camel@kernel.org> , <20220907125211.GB17729@fieldses.org> , <771650a814ab1ff4dc5473d679936b747d9b6cf5.camel@kernel.org> , <20220907135153.qvgibskeuz427abw@quack3> , <166259786233.30452.5417306132987966849@noble.neil.brown.name> , <20220908083326.3xsanzk7hy3ff4qs@quack3>, , <02928a8c5718590bea5739b13d6b6ebe66cac577.camel@kernel.org> , <20220908155605.GD8951@fieldses.org> , <9e06c506fd6b3e3118da0ec24276e85ea3ee45a1.camel@kernel.org> , <20220908182252.GA18939@fieldses.org> , <44efe219dbf511492b21a653905448d43d0f3363.camel@kernel.org> <166284799157.30452.4308111193560234334@noble.neil.brown.name> Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4 (3.44.4-1.fc36) MIME-Version: 1.0 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Sun, 2022-09-11 at 08:13 +1000, NeilBrown wrote: > On Fri, 09 Sep 2022, Jeff Layton wrote: > >=20 > > The machine crashes and comes back up, and we get a query for i_version > > and it comes back as X. Fine, it's an old version. Now there is a write= . > > What do we do to ensure that the new value doesn't collide with X+1?= =20 >=20 > (I missed this bit in my earlier reply..) >=20 > How is it "Fine" to see an old version? > The file could have changed without the version changing. > And I thought one of the goals of the crash-count was to be able to > provide a monotonic change id. >=20 "Fine" in the sense that we expect that to happen in this situation. It's not fine for the clients obviously, which is why we're discussing mitigation techniques. --=20 Jeff Layton