freebsd-nq/sys
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
..
alpha Fix an unbelievably stupid typo that cases as500 & as600 machines booted 1999-07-29 19:09:38 +00:00
amd64 Formatting-only cleanup accidentally omitted from the patch merge in the 1999-07-29 18:47:39 +00:00
boot Fix install target (install loader.exe, not loader). 1999-07-29 22:22:38 +00:00
cam disable tag queing for the MICROP 4421-07 drive. It's an old 2gig drive. 1999-07-11 06:10:47 +00:00
coda Remove the RCS "Log" and all the verbiage it has generated. 1999-07-21 12:51:36 +00:00
compat Previous commit also removed some 'const' qualifiers on args for 1999-07-30 13:44:43 +00:00
compile
conf Removed apm_setup.s. 1999-07-30 11:40:55 +00:00
contrib Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
ddb The following patch will remove a hack introduced in 1999-07-14 10:53:41 +00:00
dev Don't use at_shutdown() now that we have new_bus which lets us 1999-07-31 00:43:48 +00:00
fs Don't set DE_ACCESS for unsuccessful reads. 1999-07-25 04:01:32 +00:00
geom Use the vn_todev() function, rather than VOP_GETATTR 1999-07-18 14:31:01 +00:00
gnu Don't set IN_ACCESS for requests to read 0 bytes or for unsuccessful reads. 1999-07-25 02:56:17 +00:00
i4b Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
i386 Don't use at_shutdown() now that we have new_bus which lets us 1999-07-31 00:43:48 +00:00
isa Revert rev 1.149. Bruce convinced me that the problem already disappeared 1999-07-29 11:27:33 +00:00
isofs/cd9660 I have not one single time remembered the name of this function correctly 1999-07-17 18:43:50 +00:00
kern lutimes() bug: FOLLOW should be NOFOLLOW for this one. 1999-07-29 17:02:56 +00:00
libkern Add a fast version of bcmp which compares longwords at a time. 1999-06-19 16:30:28 +00:00
miscfs Now a dev_t is a pointer to struct specinfo which is shared by all specdev 1999-07-20 09:47:55 +00:00
modules Initial checkin 1999-07-30 12:50:48 +00:00
msdosfs Don't set DE_ACCESS for unsuccessful reads. 1999-07-25 04:01:32 +00:00
net Don't complain if 0 bytes are written to the tun device, simply 1999-07-26 12:11:10 +00:00
netatalk Change suser_xxx() to suser() where it applies. 1999-04-27 12:21:16 +00:00
netatm Allow configuration of up to 256 network interfaces per physical interface - 1999-05-10 23:02:29 +00:00
netinet 8 -> NBBy 1999-07-28 22:27:27 +00:00
netipx
netkey
netnatm
netns
nfs As described by the submitter: 1999-07-31 01:51:58 +00:00
nfsclient As described by the submitter: 1999-07-31 01:51:58 +00:00
nfsserver Correct the sanity test length calculation in nfsrv_readdirplus(): len is 1999-07-29 21:42:57 +00:00
ntfs Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
pc98 Sync with sys/i386/isa/clock.c revision up to 1.142. 1999-07-30 11:43:10 +00:00
pccard Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire 1999-07-03 20:17:08 +00:00
pci Alter the behavior of sys/kern/subr_bus.c:device_print_child() 1999-07-29 01:03:04 +00:00
posix4
powerpc Add support for SYS_RES_DENSE and SYS_RES_BWX resource types. These are 1999-07-28 07:57:48 +00:00
rpc
svr4 Previous commit also removed some 'const' qualifiers on args for 1999-07-30 13:44:43 +00:00
sys Alter the behavior of sys/kern/subr_bus.c:device_print_child() 1999-07-29 01:03:04 +00:00
tools Add a vnode argument to VOP_BWRITE to get rid of the last vnode 1999-06-16 23:27:55 +00:00
ufs Fixed access timestamp bugs: 1999-07-25 02:07:16 +00:00
vm Reduce the number of "magic constants" used for page coloring 1999-07-22 06:04:17 +00:00
Makefile Use MACHINE_ARCH instead of MACHINE to check x86 architecture. 1999-06-03 10:38:07 +00:00