r3886: Trying to understand delayed file write update times. Added another
authorJeremy Allison <jra@samba.org>
Sat, 20 Nov 2004 01:09:25 +0000 (01:09 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:06:02 +0000 (13:06 -0500)
commit96ecdf3a334f7b473ad590dbc41474d2173474c6
tree8ac8875684caafaad0089b01e198e468b4c1043b
parent5d35fe6f711985ac337da812bdbde006172bf256
r3886: Trying to understand delayed file write update times. Added another
test that uses 2 connections and queries the time via pathinfo, not fileinfo.
MSDN states : "When writing to a file, the last write time is not fully updated
until all handles used for writing have been closed." - but this is obviously
untrue. W2K3 seems to use a 2 second granularity for this. Next I'll try using
SetFileTime equivalent to see if this takes the same time to take effect.
Jeremy.
(This used to be commit 2e47e241f98c3dba8be346cea726def38399eb97)
source4/torture/basic/delaywrite.c