diff options
author | Peter Wemm <peter@FreeBSD.org> | 2004-03-14 06:21:56 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2004-03-14 06:21:56 +0000 |
commit | 6df0617286e573a51aa210376bb54aa1592beb59 (patch) | |
tree | 0862ccf8756e233936453f80067c1f7a703bce40 /sys/nfsclient | |
parent | 9b987187ee6121c7d8c07bc70aacd424ed88800e (diff) | |
download | src-6df0617286e573a51aa210376bb54aa1592beb59.tar.gz src-6df0617286e573a51aa210376bb54aa1592beb59.zip |
Calculate NFS timeouts in units of 10ms, not 5ms. This matches the default
clock precision on i386. This is a NOP change on i386. But this stops
the mount_nfs units from suddenly changing to units of 1/20 of a second
(vs the normal 1/10 of a second) if HZ is increased.
Notes
Notes:
svn path=/head/; revision=126962
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs.h b/sys/nfsclient/nfs.h index bae407fbac84..2ac6bbc799e4 100644 --- a/sys/nfsclient/nfs.h +++ b/sys/nfsclient/nfs.h @@ -50,7 +50,7 @@ * Tunable constants for nfs */ -#define NFS_TICKINTVL 5 /* Desired time for a tick (msec) */ +#define NFS_TICKINTVL 10 /* Desired time for a tick (msec) */ #define NFS_HZ (hz / nfs_ticks) /* Ticks/sec */ #define NFS_TIMEO (1 * NFS_HZ) /* Default timeout = 1 second */ #define NFS_MINTIMEO (1 * NFS_HZ) /* Min timeout to use */ |