Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755845Ab0FYXEm (ORCPT ); Fri, 25 Jun 2010 19:04:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62977 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752149Ab0FYXEl (ORCPT ); Fri, 25 Jun 2010 19:04:41 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20100625182651.36800d06@tlielax.poochiereds.net> References: <20100625182651.36800d06@tlielax.poochiereds.net> <20100625125306.7f9b1966@tlielax.poochiereds.net> <4C24A606.5040001@suse.de> <1277220214-3597-1-git-send-email-sjayaraman@suse.de> <9822.1277312573@redhat.com> <22697.1277470549@redhat.com> <18628.1277502398@redhat.com> To: Jeff Layton Cc: dhowells@redhat.com, Suresh Jayaraman , Steve French , linux-cifs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, samba-technical@lists.samba.org Subject: Re: [RFC][PATCH 06/10] cifs: define inode-level cache object and register them Date: Sat, 26 Jun 2010 00:04:28 +0100 Message-ID: <20123.1277507068@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 917 Lines: 23 Jeff Layton wrote: > IIUC, updating mtime for a write is also an attribute change, and that > affects ctime. According to the stat(2) manpage: You're right. Okay, ctime is the more frequently changed. > > Note that Ext4 appears to have a file creation time field in its inode > > (struct ext4_inode::i_crtime[_extra]). Can Samba be made to use that? > > Is it exposed to userspace in any (standard) way? It would be handy to > have that. While we're wishing...it might also be nice to have a > standard way to get at the i_generation from userspace too. Not at present, but it's something that could be exported by ioctl() or getxattr(). David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/