Date: Mon, 20 Sep 2010 19:59:08 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/nfs4client nfs4_vnops.c src/sys/nfsclient nfs_vnops.c nfsnode.h Message-ID: <201009201959.o8KJxITg051991@repoman.freebsd.org>
index | next in thread | raw e-mail
jhb 2010-09-20 19:59:08 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/nfs4client nfs4_vnops.c
sys/nfsclient nfs_vnops.c nfsnode.h
Log:
SVN rev 212930 on 2010-09-20 19:59:08Z by jhb
MFC 212293:
Store the full timestamp when caching timestamps of files and
directories for purposes of validating name cache entries. This
closes races where two updates to a file or directory within the same
second could result in stale entries in the name cache.
To preserve the ABI of 'struct nfsnode', the existing timestamp fields
are left with 'n_unusedX' placeholders along with the unused 'n_expiry'
field. The larger n_ctime and n_dmtime fields are added to the end of
the structure.
Revision Changes Path
1.37.2.3 +3 -3 src/sys/nfs4client/nfs4_vnops.c
1.276.2.15 +13 -10 src/sys/nfsclient/nfs_vnops.c
1.60.2.6 +5 -3 src/sys/nfsclient/nfsnode.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009201959.o8KJxITg051991>
