mirror of
https://github.com/opnsense/src.git
synced 2026-03-20 18:02:17 -04:00
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 |
||
|---|---|---|
| .. | ||
| bootp_subr.c | ||
| krpc.h | ||
| krpc_subr.c | ||
| nfs.h | ||
| nfs_bio.c | ||
| nfs_diskless.c | ||
| nfs_kdtrace.c | ||
| nfs_kdtrace.h | ||
| nfs_krpc.c | ||
| nfs_lock.c | ||
| nfs_lock.h | ||
| nfs_nfsiod.c | ||
| nfs_node.c | ||
| nfs_subs.c | ||
| nfs_vfsops.c | ||
| nfs_vnops.c | ||
| nfsargs.h | ||
| nfsdiskless.h | ||
| nfsm_subs.h | ||
| nfsmount.h | ||
| nfsnode.h | ||
| nfsstats.h | ||
| nlminfo.h | ||