From: Arnd Bergmann Subject: Re: [RFC][PATCH 0/6] Enhanced file stat system call Date: Wed, 04 May 2016 15:46:27 +0200 Message-ID: <5680195.kS2oylQXhI@wuerfel> References: <20160429125736.23636.47874.stgit@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-afs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, samba-technical-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-ext4-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, deepa.kernel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org To: David Howells Return-path: In-Reply-To: <20160429125736.23636.47874.stgit-S6HVgzuS8uM4Awkfq6JHfwNdhmdF6hFW@public.gmane.org> Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-ext4.vger.kernel.org On Friday 29 April 2016 13:57:36 David Howells wrote: > struct statx *buffer); > > This is an enhanced file stat function that provides a number of useful > features, in summary: > > (1) More information: creation time, data version number, inode generation > number and flags. A subset of these is available through a number of > filesystems (such as CIFS, NFS, AFS, Ext4 and BTRFS). > I have a question about birthtime/creationtime: As we are gaining a way to read this, should we also provide a way to update it using a new variant of the utimensat syscall in order to have 'cp -a' create an identical copy, or is the idea that this is defined as the time that is particular copy of the inode was created? I've discussed this with Deepa in the past, as she is driving the convertion of the inode timestamps to timespec64 now, and we will need a new version of utimensat for her work as well. I can see good reasons either way (allowing updates of btime or disallowing them). This should not hold up the statx syscall from getting merged as soon as we can, but I'd like to know what everyone feels about that question now that they are looking at the interface already. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html