diff options
author | peter <peter@FreeBSD.org> | 2004-03-14 06:21:56 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2004-03-14 06:21:56 +0000 |
commit | 36be86fb0ab127fdca2afe0978f4d07102f731e0 (patch) | |
tree | 0862ccf8756e233936453f80067c1f7a703bce40 /sys/nfsclient | |
parent | b515b12ae3aada30a0a76ce54756a2168897be46 (diff) | |
download | FreeBSD-src-36be86fb0ab127fdca2afe0978f4d07102f731e0.zip FreeBSD-src-36be86fb0ab127fdca2afe0978f4d07102f731e0.tar.gz |
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.
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 bae407f..2ac6bbc 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 */ |