freebsd-skq/sys/nfsclient
Mike Smith 98f8aa275b As described by the submitter:
I did some tcpdumping the other day and noticed that GETATTR calls
  were frequently followed by an ACCESS call to the same file. The
  attached patch changes nfs_getattr to fill the access cache as a side
  effect. This is accomplished by calling ACCESS rather than
  GETATTR. This implies a modest overhead of 4 bytes in the request and
  8 bytes in the response compared to doing a vanilla GETATTR.
...
  [The patch comprises two parts] The first
  is the "real" patch, the second counts misses and hits rather than
  fills and hits. The difference is subtle but important because both
  nfs_getattr and nfs_access now fill the cache. It also changes the
  default value of nfsaccess_cache_timeout to better match the attribute
  cache. IMHO, file timestamps change much more frequently than
  protection bits.

Submitted by:	Bjoern Groenvall <bg@sics.se>
Reviewed by:	dillon (partially)
1999-07-31 01:51:58 +00:00
..
bootp_subr.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 23:45:44 +00:00
krpc_subr.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 23:45:44 +00:00
krpc.h Forward declare more structs that are used in prototypes here - don't 1998-02-01 20:34:07 +00:00
nfs_bio.c Convert buffer locking from using the B_BUSY and B_WANTED flags to using 1999-06-26 02:47:16 +00:00
nfs_nfsiod.c Matt's NFS fixes. 1999-06-23 04:44:14 +00:00
nfs_node.c Thanks to Bruce for noticing this.... compare against the *new* nfsnode's 1999-06-19 19:33:44 +00:00
nfs_socket.c Various changes lifted from the OpenBSD cvs tree: 1999-06-05 05:35:03 +00:00
nfs_subs.c I have not one single time remembered the name of this function correctly 1999-07-17 18:43:50 +00:00
nfs_vfsops.c Various changes lifted from the OpenBSD cvs tree: 1999-06-05 05:35:03 +00:00
nfs_vnops.c As described by the submitter: 1999-07-31 01:51:58 +00:00
nfs.h remove b_proc from struct buf, it's (now) unused. 1999-05-06 20:00:34 +00:00
nfsargs.h remove b_proc from struct buf, it's (now) unused. 1999-05-06 20:00:34 +00:00
nfsdiskless.h Removed more vestiges of config-time swap configuration. 1997-09-07 12:56:46 +00:00
nfsm_subs.h Matt's NFS fixes. 1999-06-23 04:44:14 +00:00
nfsmount.h When using NFSv3, use the remote server's idea of the maximum file size 1998-05-30 16:33:58 +00:00
nfsnode.h Reimplement the NFS ACCESS RPC cache as an "accelerator" rather than a true 1998-11-15 20:36:18 +00:00
nfsstats.h remove b_proc from struct buf, it's (now) unused. 1999-05-06 20:00:34 +00:00