From owner-cvs-all Fri Jun 29 14:18:12 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9FEB537B403; Fri, 29 Jun 2001 14:18:07 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5TLI7050994; Fri, 29 Jun 2001 14:18:07 -0700 (PDT) (envelope-from iedowse) Message-Id: <200106292118.f5TLI7050994@freefall.freebsd.org> From: Ian Dowse Date: Fri, 29 Jun 2001 14:18:07 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/mount_nfs mount_nfs.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2001/06/29 14:18:07 PDT Modified files: (Branch: RELENG_4) sbin/mount_nfs mount_nfs.c Log: This is a backport of many of the changes from revisions 1.41 through 1.44. The resulting code layout that is much closer to that found in -current. The main changes are: - Improved error reporting - Background mounts are less likely to fail due to temporary errors that may occur as the server comes up. - Foreground mounts give up after one failed attempt instead of retrying again and again. - We now never proceed with the mount() syscall unless we have received a reply from the remote nfsd; this can avoid hung mounts. - Using the new CLSET_CONNECT clnt_control request, mount_nfs now ensures that the remote nfsd is replying from the expected source address, fixing another cause of hung mounts. Revision Changes Path 1.36.2.2 +237 -186 src/sbin/mount_nfs/mount_nfs.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message