summaryrefslogtreecommitdiffstats
path: root/sys/fs/nfsclient/nfsnode.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2010-07-15 19:40:48 +0000
committerjhb <jhb@FreeBSD.org>2010-07-15 19:40:48 +0000
commit6f863ac2c4816a2691785e677b73430d5dc4fcf0 (patch)
tree116f764686b0f5fda9d5659bbd023b4c128fa8c7 /sys/fs/nfsclient/nfsnode.h
parent9e1b696f6548c49277ca0b1d72927a89f4b11cfa (diff)
downloadFreeBSD-src-6f863ac2c4816a2691785e677b73430d5dc4fcf0.zip
FreeBSD-src-6f863ac2c4816a2691785e677b73430d5dc4fcf0.tar.gz
Retire the NFS access cache timestamp structure. It was used in VOP_OPEN()
to avoid sending multiple ACCESS/GETATTR RPCs during a single open() between VOP_LOOKUP() and VOP_OPEN(). Now we always send the RPC in VOP_LOOKUP() and not VOP_OPEN() in the cases that multiple RPCs could be sent. MFC after: 2 weeks
Diffstat (limited to 'sys/fs/nfsclient/nfsnode.h')
-rw-r--r--sys/fs/nfsclient/nfsnode.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/fs/nfsclient/nfsnode.h b/sys/fs/nfsclient/nfsnode.h
index 3a5731a..8bbb3bc 100644
--- a/sys/fs/nfsclient/nfsnode.h
+++ b/sys/fs/nfsclient/nfsnode.h
@@ -68,16 +68,6 @@ struct nfsdmap {
#define ndm_cookies ndm_un1.ndmu3_cookies
#define ndm4_cookies ndm_un1.ndmu4_cookies
-#define n_ac_ts_tid n_ac_ts.nfs_ac_ts_tid
-#define n_ac_ts_pid n_ac_ts.nfs_ac_ts_pid
-#define n_ac_ts_syscalls n_ac_ts.nfs_ac_ts_syscalls
-
-struct nfs_attrcache_timestamp {
- lwpid_t nfs_ac_ts_tid;
- pid_t nfs_ac_ts_pid;
- unsigned long nfs_ac_ts_syscalls;
-};
-
struct nfs_accesscache {
u_int32_t mode; /* ACCESS mode cache */
uid_t uid; /* credentials having mode */
@@ -132,7 +122,6 @@ struct nfsnode {
u_int32_t n_flag; /* Flag for locking.. */
int n_directio_opens;
int n_directio_asyncwr;
- struct nfs_attrcache_timestamp n_ac_ts;
u_int64_t n_change; /* old Change attribute */
struct nfsv4node *n_v4; /* extra V4 stuff */
};
OpenPOWER on IntegriCloud