[Pkg-samba-maint] DO NOT REPLY [Bug 3775] cifs: cached file modification time attribute is rounded to seconds

samba-bugs at samba.org samba-bugs at samba.org
Mon Jan 18 12:40:23 UTC 2010


------- Comment #22 from jlayton at samba.org  2010-01-18 06:40 CST -------
It's been a while since I trawled through ext3 code, but I don't think that's
the case. A quick grep shows this:

$ grep tv_nsec fs/ext3/*
fs/ext3/inode.c:        inode->i_atime.tv_nsec = inode->i_ctime.tv_nsec =
inode->i_mtime.tv_nsec = 0;

...at one point I considered doing a patch to add finer-grained timestamps to
ext3, but it was a pretty messy thing to do and ext4 came along soon

In any case, it's pretty clear that we can't have the client reliably predict
the timestamp granularity of the server. It may even be different for different
inodes (if the share spans multiple filesystems).

I think the best we can do here is something like the patch that Shirish has

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the Pkg-samba-maint mailing list