1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/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
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
nfs_lock.c
nfs_lock.h
nfs_nfsiod.c
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
nfsargs.h
nfsdiskless.h
nfsm_subs.h
nfsmount.h
nfsnode.h
nfsstats.h
nlminfo.h