Return-Path: Received: from mail-gy0-f174.google.com ([209.85.160.174]:44529 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752222Ab0HBOJv (ORCPT ); Mon, 2 Aug 2010 10:09:51 -0400 In-Reply-To: <20100801094018.522e2f53@corrin.poochiereds.net> References: <20100728111525.355a2bd3@notabene> <20100715021709.5544.64506.stgit@warthog.procyon.org.uk> <20100715021712.5544.44845.stgit@warthog.procyon.org.uk> <30448.1279800887@redhat.com> <20100722162712.GB10352@jeremy-laptop> <13591.1280338082@redhat.com> <20100729090401.4b0a21f8@notabene> <20100801094018.522e2f53@corrin.poochiereds.net> Date: Mon, 2 Aug 2010 10:09:49 -0400 Message-ID: Subject: Re: [PATCH 02/18] xstat: Add a pair of system calls to make extended file stats available [ver #6] From: Greg Freemyer To: Jeff Layton Cc: Neil Brown , David Howells , Linus Torvalds , Jan Engelhardt , Jeremy Allison , Volker.Lendecke@sernet.de, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, samba-technical@lists.samba.org, linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 > Furthermore, I'll go ahead and propose the following (simple) semantics: > > 1) birthtime is initialized to the current time when a new inode is > created > > 2) it's settable via the xattr to an arbitrary value > > Either way, the xattr for this ought to be named the same on all > filesystems. Samba shouldn't need to know or care what the underlying > filesystem is, as long as it presents the correct xattr. > > That should make samba happy, and be reasonably simple to implement. Is there any reason to allow birthtime to be set in advance of the current birthtime? ie restore / copy tools clearly need to backdate it, but I'd prefer to see it not advance-able. Greg