cvs commit: src/sys/vfs/nfs nfs_vnops.c

Matthew Dillon dillon at apollo.backplane.com
Tue Jun 19 14:13:05 PDT 2007


::This change causes problems:
::'make -j4 buildworld' fails, seemingly random, eg. as below.
::this is with /usr/src and /usr/obj nfs mounted; nfs server running dfly 1.8.2.
:
:    Ok, I'll reproduce it and track it down.
:
:						-Matt

    I figured it out, and reproduced it.  The issue is that the underlying
    vnode being disassociated from the namecache topology has to be 
    synchronized with the NFS server or the next lookup of the filename
    may get stale information.  In this case, the file permissions for
    the newly created file had not yet been synchronized with the server.

    I'm working on a fix.  In the mean time, just set the timeout to
    around a minute (the 30-second filesystem flush will resynchronize
    the client and server so a cache timeout of 60 seconds ought to do
    the trick).

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Bugs mailing list