Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp36852pxb; Thu, 13 Jan 2022 01:11:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzsNc9EcLhYbOF66KsaVpokbD8d5o1vJ2bbQBDYc71p22QbNh3l795ts+Pvj71EhtIB3aa X-Received: by 2002:a63:7b4d:: with SMTP id k13mr3147205pgn.384.1642065110588; Thu, 13 Jan 2022 01:11:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642065110; cv=none; d=google.com; s=arc-20160816; b=VGIrHrjrdbbRmq0qJxN4I+G1l/tI1oLQmxqw/0bgN/CdUJfH7MVvcrtRlifXzMQhUK Ky7SC/z7oSQxqKfscouQI5CyDVdcQOlpMLJg2qI0FR2R5NfMyZ5y3LIUQe9Yg97VjGxo n/Zs1eG8e/UAaHl93ZrboTJsFaAg8FYmQgX9sy2L19Rk4nS0u+NxRMnOJSCwj7fB18xD vrE9Y0cAKpLIhD4+eU5Ls610iPEOk+fFKmaZMLFGNj9ljLKTl0HlIZm8DHYGzncxuVyM yaxhbVVLpq7IkWfYHq+okZ5hDfRdkYErZ8TLn512VCwXgQpihBLkThMBjbehBvldqCho 0LQQ== 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:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=nj5k3mlsUDDGuLxVB3qEkpQFS6rGFoeOraW+MaiB/Xo=; b=dCwVNUmo1NvYxj+EdmLVidPAl8Y4uN8G8KMUSIDo1Y+iA9wqQrm3uHJlUZ5AeFBlFb oFhHkwgSj8WtA0cDhs/OnK/tBJPkKaBHoABiR2N2MVEdPn5poQVL82a+an09gSFy8k21 m1Ce4C1C6fKDXEUt/h/lmeCEIQCDqOTXemW4Co0qg6sY14XTurCX9wkt4rU4CpcA2rOp C5nIhOatSFJ+o7EPWbPt65q0geErdBzhPoA2xu3/TekoleejrmrtjnL8LOsFOk/BJwRI V16eHF5lgHxXv4HRyXcW4kFkXmI1/o9/5Qv4S3e6YGOy1qe3FL2roIy0YE98RJ4vwoBb 32rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samba.org header.s=42 header.b=gBSu931h; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=samba.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m4si1974014plt.282.2022.01.13.01.11.06; Thu, 13 Jan 2022 01:11:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samba.org header.s=42 header.b=gBSu931h; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=samba.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230188AbiAMGzR (ORCPT + 99 others); Thu, 13 Jan 2022 01:55:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230160AbiAMGzR (ORCPT ); Thu, 13 Jan 2022 01:55:17 -0500 X-Greylist: delayed 1439 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 12 Jan 2022 22:55:16 PST Received: from hr2.samba.org (hr2.samba.org [IPv6:2a01:4f8:192:486::2:0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EB9BC06173F; Wed, 12 Jan 2022 22:55:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=samba.org; s=42; h=Message-ID:Cc:To:From:Date; bh=nj5k3mlsUDDGuLxVB3qEkpQFS6rGFoeOraW+MaiB/Xo=; b=gBSu931hJouc0xwpLTHSdQgfFc 2Uf3gAhZOCeTpcRU4tAg5rAp1APUp8FiLsMFus94HYwJG14n3Jh151WGaKmJ3P+cshZ4k3GZQBCRK hFmcTI4qMRoeUrdlGtPeF2U0DqRW/g0aPINmwSlHPbhXhneo6rfntXcGU313ITFsWDW2hRZ083c5R MqL4joDYnmkh8Teg4NSCmhd9Cvp+PDXVLm89lh7zrg0G7fLSjUWSW6hVw5uohPUAFfrDsKMUbd+CQ 5q0mRSHmZsTp2bV8+UzXAUS8NRBaxIagoDhZ50huS8sxoR7uhVPqQczFZafIGZHFgrJAlVVQeg0Ae Rt/uXjyXj65Mv7ZpZNGccO8PkIUi5vY/tJVOpe7hLd99EneFehypO/FSXWI+h6ivwWo2IlQZHVvEK ERGc9exCYndN0oauBfMpUmBfE2gS4H3F5mH9qB3hibrLV2PJzD/yhF9wtu8mO1Nt1Unbo88zSW3ay BdUwcybj4QhvblLGZOwWxFap; Received: from [127.0.0.2] (localhost [127.0.0.1]) by hr2.samba.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__ECDSA_SECP256R1_SHA256__CHACHA20_POLY1305:256) (Exim) id 1n7tda-0073Lw-Ji; Thu, 13 Jan 2022 06:31:07 +0000 Date: Wed, 12 Jan 2022 22:30:57 -0800 From: Jeremy Allison To: Amir Goldstein Cc: "Darrick J. Wong" , Christoph Hellwig , Trond Myklebust , Dan Carpenter , richard.sharpe@primarydata.com, Linux NFS Mailing List , lance.shelton@hammerspace.com, Anna Schumaker , linux-fsdevel , Linux API , CIFS , ntfs3@lists.linux.dev, Steve French , Konstantin Komarov , Ralph Boehme Subject: Re: [bug report] NFS: Support statx_get and statx_set ioctls Message-ID: Reply-To: Jeremy Allison References: <20220111074309.GA12918@kili> <20220112174301.GB19154@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Thu, Jan 13, 2022 at 05:52:40AM +0200, Amir Goldstein wrote: > >To add one more terminology to the mix - when Samba needed to cope >with these two terminologies they came up with itime for "instantiation time" >(one may also consider it "immutable time"). No, that's not what itime is. It's used as the basis for the fileid return as MacOSX clients insist on no-reuse of inode numbers when a file is deleted then re-created, and ext4 will re-use the same inode. Samba uses btime for "birth time", and will use statx to get it from the filesystem but then store it in the dos.attribute EA so it can be modified if the client sets it.