Reduce the default NFSv3 access cache timeout from 60 seconds to 10 seconds.
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 21 Feb 2006 17:52:52 +0000 (17:52 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 21 Feb 2006 17:52:52 +0000 (17:52 +0000)
commit9710083970a517d499c77c8d3d873196e6098002
tree8fec9f86b2c4880d0e9ed7c16c988d5facef08cd
parentf1c8c41db6a63d99d08efe7e9a4e061eca50bfba
Reduce the default NFSv3 access cache timeout from 60 seconds to 10 seconds.
The user can still adjust the timeout via vfs.nfs.access_cache_timeout.

Change the dynamic attribute cache timeout heuristic to be the approximate
number of seconds since the file was last modified divided by 60.  It used
to be divided by 10.
sys/vfs/nfs/nfs.h
sys/vfs/nfs/nfs_subs.c
sys/vfs/nfs/nfs_vnops.c