[RFC][PATCH 06/10] cifs: define inode-level cache object and register them

David Howells dhowells at redhat.com
Fri Jun 25 15:46:38 MDT 2010


Jeff Layton <jlayton at samba.org> 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


More information about the samba-technical mailing list