On Sat, 7 Aug 2010 13:32:40 +1000
Neil Brown <neilb@suse.de> wrote:
IIUC, you're saying that we should basically just have samba stuff the
current time into an xattr when it creates the file and leave the
filesystems alone. If so, I disagree here.
The problem with treating this as *just* an xattr is that it doesn't
account for files that are created outside of samba but are then shared
out by it.
To handle this correctly, I believe it needs to be initialized by the
kernel to the current time whenever an inode is created, even if samba
doesn't create it. After that, it can be treated as just another xattr.
--
Jeff Layton <jlayton@samba.org>
--