Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp46104pxb; Fri, 14 Jan 2022 00:19:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJwoiHCGyONM/diQiMM+u2GmrVIfXUqJ/FvUeJckbHh+hw7uwMC/KUdpZiw0M9eCR3U7OpcU X-Received: by 2002:a17:90b:3b52:: with SMTP id ot18mr17355269pjb.129.1642148377971; Fri, 14 Jan 2022 00:19:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642148377; cv=none; d=google.com; s=arc-20160816; b=GTggwrTir/XKjo07cK/NXowgGf7sgD6VGIgOlYHa0tAFXOtyqSFaAj7OVF6fZFSzDZ Nq02tgiUWMrMaDaVgvgPWjqbZuJm+yK5pt3/YKB6tgbqyKz6UG+bLFtg6xre0n9iX0QY eHhuYJHa4I3Mkp33aYOhY58yV70v1VGgcvivkHO0SrCXHhW/9vulerxXj7e7ORjTi1Nu 5jI1Ehp59koHMSOL9AB2iSmeaf26LJtZtV0QD8FVg3ehFLwAPxERASy7GLkIqU+PR7wP gcLziYKDa80BnQfFCUiBJxnSAtlbM9G671+fXGISqSGZ4E985wt+keEYlRkzpPv5ht1K 4z+Q== 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=CNaJaJCmLDp4zjhKf+vfOZmV8TnPhZwBnI3AdU8wd4E=; b=Ey1EQ45KdXwhfXPSP//3g1s1CvsJBJdo2KAEaSrITqQmFPb8zKsPCyyCe5n0cvyP1R reL0PjlKsFatFq3xN9M5rw2zdTaJWhixQNCD4+I2v2+D9LO4h3r2Nzu9+j9VoTZkRPee C66U4iUA41J89WD8BA0dXZfUofHxrlNc3cbuViH9YDaorK8yNQhB6lqS/eC70y3WlxP8 1Fl/9hTmSiU7XNZuWnod4EtlMHWGD4vw0jQ1lzVH4nTK3dJ7tSKNkdI9WEYfs52P9fl1 v+ELa7+hwZKCYxZ7nCNLWIVWLtDsz26PCwmd3eEyf1zciSIoVKnfQPbu8VvfHznnJ0dG dKMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samba.org header.s=42 header.b=MT3Y1MSa; 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 84si5341718pgh.114.2022.01.14.00.19.25; Fri, 14 Jan 2022 00:19:37 -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=MT3Y1MSa; 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 S237249AbiAMRvC (ORCPT + 99 others); Thu, 13 Jan 2022 12:51:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbiAMRvC (ORCPT ); Thu, 13 Jan 2022 12:51:02 -0500 Received: from hr2.samba.org (hr2.samba.org [IPv6:2a01:4f8:192:486::2:0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6FC6C061574; Thu, 13 Jan 2022 09:51:00 -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=CNaJaJCmLDp4zjhKf+vfOZmV8TnPhZwBnI3AdU8wd4E=; b=MT3Y1MSajJXlnSVfhVIkWRxFI/ S1R3sqPvTgeTTwIHIKwTXYR5EUfhoAh2Bmstgz3ljsVXk6X+d8/5npIB+eAbF02uj76UqndpkxWxz AXDZ5qtx3mAXwCoqwrX/I96p++rUwdrClC6NYuhJhAQSSt4uH5E9vPCzQdXyC0i3CZg1FsrB/iJiq 1Mcn6kXO/lmq8mv2obVuQu0haRmHHrobGbTOYtNdGNowwhK8RmoCDVa4r0v+LGGayrcQoNwDh8TZc ulB+w80Wljy6zAFGRUyBNcOrzmRexjR0zh4QOEYFvNmTRFL7gsVHBuM/UewAsEi9VdukSssG8Xbp0 SJDGz0IZyKXS/4paRUPtQ3HXw08GgHiZy7CpHdJluLhsZ9JicLxbi+dgHyazcw0LOfJSjYr3gqj1B I0cPSEbVLjITGprzMlZXhKIgkRK27NXQtg5tslZSby8+3Q7LvSYTQMoiLYimfMJNGMbG0y21qhXCB nT3v/RBhhCSrhnN9+0cpmUqH; 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 1n84FM-0078Sr-Tp; Thu, 13 Jan 2022 17:50:49 +0000 Date: Thu, 13 Jan 2022 09:50:44 -0800 From: Jeremy Allison To: Trond Myklebust Cc: "amir73il@gmail.com" , Lance Shelton , Richard Sharpe , "linux-cifs@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-api@vger.kernel.org" , "ntfs3@lists.linux.dev" , "hch@infradead.org" , "almaz.alexandrovich@paragon-software.com" , "djwong@kernel.org" , "dan.carpenter@oracle.com" , "linux-nfs@vger.kernel.org" , "Anna.Schumaker@netapp.com" , "slow@samba.org" , "sfrench@samba.org" 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> <3cf76cc19f12f3e9da2eae7fe12e2719c8e499f8.camel@hammerspace.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <3cf76cc19f12f3e9da2eae7fe12e2719c8e499f8.camel@hammerspace.com> Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Thu, Jan 13, 2022 at 02:58:19PM +0000, Trond Myklebust wrote: >On Wed, 2022-01-12 at 22:30 -0800, Jeremy Allison wrote: >> 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. > >So basically it serves more or less the same purpose as the generation >counter that most Linux filesystems use in the filehandle to provide >similar only-once semantics? Kind of, although we moved it recently to be a current_time + random skew as the timestamp resolution in ext4 just wasn't enough to get us unique fileids.