summaryrefslogtreecommitdiffstats
path: root/sys/rpc
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-03-14 06:21:56 +0000
committerpeter <peter@FreeBSD.org>2004-03-14 06:21:56 +0000
commit36be86fb0ab127fdca2afe0978f4d07102f731e0 (patch)
tree0862ccf8756e233936453f80067c1f7a703bce40 /sys/rpc
parentb515b12ae3aada30a0a76ce54756a2168897be46 (diff)
downloadFreeBSD-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/rpc')
-rw-r--r--sys/rpc/rpcclnt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/rpc/rpcclnt.h b/sys/rpc/rpcclnt.h
index 48681ab..66f275f 100644
--- a/sys/rpc/rpcclnt.h
+++ b/sys/rpc/rpcclnt.h
@@ -92,7 +92,7 @@
#endif
/* from nfs/nfs.h */
-#define RPC_TICKINTVL 5
+#define RPC_TICKINTVL 10
/* from nfs/nfsproto.h */
OpenPOWER on IntegriCloud