[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 Nov 30 20:21:05 UTC 2009


https://bugzilla.samba.org/show_bug.cgi?id=3775





------- Comment #5 from sfrench at us.ibm.com  2009-11-30 14:21 CST -------
(this should be fine on xfs, jfs, ext4, btrfs and other fs with 100nanosecond
or better timestamps, or perhaps 1 microsecond depending on how you are setting
timestamps).   Since cifs is caching the timestamp it sets to the server, if
running on a filesystem which can't support saving accurate timestamps, you can
disabling caching of stat info (echo 0 > /proc/fs/cifs/LookupCacheEnabled).

Special casing ext2 and ext3 timestamps would help the client be able to
recognize this - as would an operation to get the superblock time mask (over
the network) but turning off metadata caching is easier.


-- 
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