diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2010-01-31 19:12:24 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2010-01-31 19:12:24 +0000 |
commit | f54e0fab4c381ffac266474cd866b849f62dce62 (patch) | |
tree | 131c0903972f5f8b8a070bdac8402026960e814a /sys/fs/nfsclient/nfsnode.h | |
parent | 39978ea638ae4b16b5943056c923832cfcd520bd (diff) | |
download | FreeBSD-src-f54e0fab4c381ffac266474cd866b849f62dce62.zip FreeBSD-src-f54e0fab4c381ffac266474cd866b849f62dce62.tar.gz |
Patch the experimental NFS client so that there is a timeout
for negative name cache entries in a manner analogous to
r202767 for the regular NFS client. Also, make the code in
nfs_lookup() compatible with that of the regular client
and replace the sysctl variable that enabled negative name
caching with the mount point option.
MFC after: 2 weeks
Diffstat (limited to 'sys/fs/nfsclient/nfsnode.h')
-rw-r--r-- | sys/fs/nfsclient/nfsnode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/nfsclient/nfsnode.h b/sys/fs/nfsclient/nfsnode.h index c0610c9..3a5731a 100644 --- a/sys/fs/nfsclient/nfsnode.h +++ b/sys/fs/nfsclient/nfsnode.h @@ -108,6 +108,7 @@ struct nfsnode { struct timespec n_mtime; /* Prev modify time. */ time_t n_ctime; /* Prev create time. */ time_t n_dmtime; /* Prev dir modify time. */ + int n_dmtime_ticks; /* Tick of -ve cache entry */ time_t n_expiry; /* Lease expiry time */ struct nfsfh *n_fhp; /* NFS File Handle */ struct vnode *n_vnode; /* associated vnode */ |