freebsd-dev/sys/nfsclient
John Baldwin 72ccfc240b A previous change moved the GETATTR RPC for open() calls that hit in the
name cache up into nfs_lookup() instead of nfs_open().  Continue this
trend by flushing the attribute cache for leaf nodes in nfs_lookup() during
an open() if we do a LOOKUP RPC.  For NFSv3 this should generally be a NOP
as the attributes are flushed before fetching the post-op attributes from
the LOOKUP RPC which most (all?) NFSv3 servers provide, so the post-op
attributes should populate the cache.

Now all NFS open() calls will always clear the cached attributes during the
nfs_lookup() prior to nfs_open() in the !NMODIFIED case to provide CTOC.
As a result, we can remove the conditional flushing of the attribute
cache from nfs_open().

Reviewed by:	rmacklem, bde
MFC after:	2 weeks
2010-07-12 14:27:49 +00:00
..
bootp_subr.c Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
krpc_subr.c
krpc.h
nfs_bio.c In NFS clients, instead of inconsistently using #ifdef 2010-06-13 05:24:27 +00:00
nfs_diskless.c
nfs_kdtrace.c Simplify code a bit. 2010-02-18 22:10:55 +00:00
nfs_kdtrace.h
nfs_krpc.c - Move nfs_realign() from the NFS client to the shared NFS code and 2010-02-09 23:45:14 +00:00
nfs_lock.c
nfs_lock.h
nfs_nfsiod.c Fix a race that can occur when nfs nfsiod threads are being created. 2010-01-27 15:22:20 +00:00
nfs_node.c
nfs_subs.c In NFS clients, instead of inconsistently using #ifdef 2010-06-13 05:24:27 +00:00
nfs_vfsops.c Change the current working directory to be inside the jail created by 2010-05-27 03:15:04 +00:00
nfs_vnops.c A previous change moved the GETATTR RPC for open() calls that hit in the 2010-07-12 14:27:49 +00:00
nfs.h Fix a race that can occur when nfs nfsiod threads are being created. 2010-01-27 15:22:20 +00:00
nfsargs.h
nfsdiskless.h
nfsm_subs.h
nfsmount.h Add a timeout for the negative name cache entries in the NFS client. 2010-01-21 20:57:25 +00:00
nfsnode.h Fix a race that can occur when nfs nfsiod threads are being created. 2010-01-27 15:22:20 +00:00
nfsstats.h
nlminfo.h