From owner-cvs-all@FreeBSD.ORG Tue Jul 22 21:28:47 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C77E81065672; Tue, 22 Jul 2008 21:28:47 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BFA138FC1B; Tue, 22 Jul 2008 21:28:47 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m6MLSlE0042018; Tue, 22 Jul 2008 21:28:47 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m6MLSloL042017; Tue, 22 Jul 2008 21:28:47 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200807222128.m6MLSloL042017@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Tue, 22 Jul 2008 21:27:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/nfs4client nfs4_socket.c nfs4_vfsops.c src/sys/nfsclient nfs_socket.c nfs_vfsops.c src/sys/rpc rpcclnt.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2008 21:28:47 -0000 ed 2008-07-22 21:27:22 UTC FreeBSD src repository Modified files: sys/nfs4client nfs4_socket.c nfs4_vfsops.c sys/nfsclient nfs_socket.c nfs_vfsops.c sys/rpc rpcclnt.c Log: SVN rev 180724 on 2008-07-22 21:27:22Z by ed Move the NFS/RPC code away from lbolt. The kernel has a special wchan called `lbolt', which is triggered each second. It doesn't seem to be used a lot and it seems pretty redundant, because we can specify a timeout value to the *sleep() routines. In an attempt to eventually remove lbolt, make the NFS/RPC code use a timeout of `hz' when trying to reconnect. Only the TTY code (not MPSAFE TTY) and the VFS syncer seem to use lbolt now. Reviewed by: attilio, jhb Approved by: philip (mentor), alfred, dfr Revision Changes Path 1.5 +1 -1 src/sys/nfs4client/nfs4_socket.c 1.35 +3 -1 src/sys/nfs4client/nfs4_vfsops.c 1.160 +6 -5 src/sys/nfsclient/nfs_socket.c 1.208 +3 -1 src/sys/nfsclient/nfs_vfsops.c 1.22 +3 -2 src/sys/rpc/rpcclnt.c