Date: Mon, 20 Sep 2010 19:58:50 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfsclient nfs_clrpcops.c nfs_clvnops.c nfsnode.h src/sys/nfsclient nfs_vnops.c nfsnode.h Message-ID: <201009201959.o8KJxB7L051962@repoman.freebsd.org>
index | next in thread | raw e-mail
jhb 2010-09-20 19:58:50 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/fs/nfsclient nfs_clrpcops.c nfs_clvnops.c nfsnode.h
sys/nfsclient nfs_vnops.c nfsnode.h
Log:
SVN rev 212929 on 2010-09-20 19:58:50Z 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.4.2.9 +1 -2 src/sys/fs/nfsclient/nfs_clrpcops.c
1.13.2.13 +8 -8 src/sys/fs/nfsclient/nfs_clvnops.c
1.1.2.4 +5 -3 src/sys/fs/nfsclient/nfsnode.h
1.318.2.15 +13 -10 src/sys/nfsclient/nfs_vnops.c
1.66.2.5 +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.o8KJxB7L051962>
