Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932247Ab0FYVqu (ORCPT ); Fri, 25 Jun 2010 17:46:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55406 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932088Ab0FYVqs (ORCPT ); Fri, 25 Jun 2010 17:46:48 -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: <20100625125306.7f9b1966@tlielax.poochiereds.net> References: <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> 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: Fri, 25 Jun 2010 22:46:38 +0100 Message-ID: <18628.1277502398@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 733 Lines: 18 Jeff Layton wrote: > Looks like it mostly uses the ctime. IMO, the mtime would be a better > choice since it changes less frequently, but I don't guess that it > matters very much. I'd've thought mtime changes more frequently since that's altered when data is written. ctime is changed when attributes are 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? 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/