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)
commit2e47e241f98c3dba8be346cea726def38399eb97
tree7821cfd5fd9cd486537822e0ea45cd818d3f6cae
parent39ae5e1dac31a22086be50fb23261e02be877f3f
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.
source/torture/basic/delaywrite.c