Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp934066rwe; Thu, 25 Aug 2022 11:51:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR5fi/mi++L1zHLEqb+VgWyV/FZqqWM5ScItL8k1x+udbv/VKfsy0TPMJY/rONEAijX31fdl X-Received: by 2002:a17:907:16a6:b0:73d:de5f:8b22 with SMTP id hc38-20020a17090716a600b0073dde5f8b22mr1029952ejc.261.1661453509094; Thu, 25 Aug 2022 11:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661453509; cv=none; d=google.com; s=arc-20160816; b=W2Pn13g+Wnyf+h6qw6Sw3hC1947hAiH++q7cBqJXsXGi3FAmgG2lY1AHVcuTx/60AF g2CHmMTEerJP6do6PsE1FjhOXXL9nygj0z6+lBp7XqPcpvo9xIMgzy+aeUSUrdU6RsfK WIjSaupWSx4T4i6AlYliLhxNMK5z03L2yWxv7yGu0OWefRaaKbRr3jsYXhXOybZHt5PS YGtcpOZx+YXYuyEQBxCapvq4fv01bHGqtNwc+w7vdER/JR2KB3q/WDGU4tOCwQ17fQwN jr0dXdULerBoQxOtCc+ENEaKwu4xuiX28tlCAnPoCN58ua7ABJxsqDA7/thEYdMq9et8 tAoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=7/QJ5cEPcMfYYVo1y1XafN6H2GK15RMZ9wDJuYjC+3c=; b=Uugdj/H/QGIyH9Td6lEo4uiu7mDsG2AeB/yQLn19hg0cesFYBvn/LOd7AGK3tzQ9q6 zgN40nkSw8E6s+QHtQzKuZ1uLyOhWJ2vRzJsyaQTSi+8Mp69gZRolkD6q5uAZ028fvQ9 Rb1diY1ZXM0il4ySb0XoCEtCceb3dypkYLh+9jWMmWCTRV9hLvkJjIR9qZtpkcKOMiRM evgfwk6VlyCuCVN2BSTFiO9xB/KtKM2ArZO2RmPd4BggpAks3AZpkTSNYfogvVFMewIq aUtTKsPOgoMgcXr2I0lxGQCG9Lel9rkzEu+v9z3n4WfGqP7Lka7R7BDBSjqkJt/VCdZ4 YJ6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@verbum.org header.s=fm1 header.b=tAJRAlKJ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="aa7WC/tn"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b12-20020a056402084c00b00445db66f9c4si134830edz.590.2022.08.25.11.51.21; Thu, 25 Aug 2022 11:51:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-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=@verbum.org header.s=fm1 header.b=tAJRAlKJ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="aa7WC/tn"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243233AbiHYSsv (ORCPT + 99 others); Thu, 25 Aug 2022 14:48:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243309AbiHYSso (ORCPT ); Thu, 25 Aug 2022 14:48:44 -0400 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27AB9B08B9; Thu, 25 Aug 2022 11:48:38 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id A0E735C00A7; Thu, 25 Aug 2022 14:48:35 -0400 (EDT) Received: from imap46 ([10.202.2.96]) by compute5.internal (MEProxy); Thu, 25 Aug 2022 14:48:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verbum.org; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1661453315; x=1661539715; bh=7/QJ5cEPcM fYYVo1y1XafN6H2GK15RMZ9wDJuYjC+3c=; b=tAJRAlKJC6gwE4HsW/KFz043yK 24kBNzKUiqmnVincz1sRtGKAb19o0zAv/9Fy3yHUJ7me08gpSkhGFvCWlPjT4ER+ +fNGjc/wZ6IOXNAIT2wqi5fp++4hIugMf/rc7b0/ujORdyOq64rh2quHqGtoZDdk dLsQf6wCXqgn8RU8Hcy812rvA86MmxNSJzKD+fXCKdMwbwgJxgW6h1iB9+o1jgA+ IFur+F8TqAEKzz9HV8vU978jhpMJ/9UHc1JGXLoIg+JnodG27tUhcPdFWNzDDdpX UJ+mfLKn/kDhfRmWTKQ7v9y49Y7kQ2GfW83zU0SnddNwXV24uGXZmhQx2ZJA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1661453315; x=1661539715; bh=7/QJ5cEPcMfYYVo1y1XafN6H2GK1 5RMZ9wDJuYjC+3c=; b=aa7WC/tnYeq9OEjXMIgD5gjslo07PCVNiJjuBBQdaR38 n51GhANSSmBdeGZTtg5eDLrA4BdvWSEkvqCwaDMIfgyWc5depXXCHqTnmv8m3d8r fT0XK7FvIHXFXhcdMpTLHH/RNW06CX+x4fWxxT7+BSpuO3yDHayMs9RvS2M26UHW iNbjsaRW4egk+/gLmvM2xNiZSdbMruognidUigvjkcHjc8yNGrhD4zrxT6oImZps Np1MrDj8k9jtJQZo2sjU/Z4SucHTM7VJ4DksLpIRKM/y7/dCCcR0zG3W4nSOKS2V L18DNzyfWvFLhNSJ6GoReFAYZ8icZaxkfOMf6DkXrw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejfedguddvlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdev ohhlihhnucghrghlthgvrhhsfdcuoeifrghlthgvrhhssehvvghrsghumhdrohhrgheqne cuggftrfgrthhtvghrnhephfejuddthedtgfeuueeltdekfeekvdfgveeifeduteekheff jefgieehheekgeetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepfigrlhhtvghrshesvhgvrhgsuhhmrdhorhhg X-ME-Proxy: Feedback-ID: ibe7c40e9:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3C1E52A20075; Thu, 25 Aug 2022 14:48:35 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-841-g7899e99a45-fm-20220811.002-g7899e99a Mime-Version: 1.0 Message-Id: In-Reply-To: <20220823215333.GC3144495@dread.disaster.area> References: <20220819115641.14744-1-jlayton@kernel.org> <20220823215333.GC3144495@dread.disaster.area> Date: Thu, 25 Aug 2022 14:48:02 -0400 From: "Colin Walters" To: "Dave Chinner" , "Jeff Layton" Cc: "Al Viro" , linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org, "Jeff Layton" , "David Howells" , "Frank Filz" Subject: Re: [PATCH] vfs: report an inode version in statx for IS_I_VERSION inodes Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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-nfs@vger.kernel.org On Tue, Aug 23, 2022, at 5:53 PM, Dave Chinner wrote: > > THere's no definition of what consitutes an "inode change" and this > exposes internal filesystem implementation details (i.e. on disk > format behaviour) directly to userspace. That means when the > internal filesystem behaviour changes, userspace applications will > see changes in stat->ino_version changes and potentially break them. As a userspace developer (ostree, etc. who is definitely interested in this functionality) I do agree with this concern; but a random drive by comment: would it be helpful to expose iversion (or other bits like this from the vfs) via e.g. debugfs to start? I think that'd unblock writing fstests in the short term right?