From owner-cvs-src@FreeBSD.ORG Tue Jan 18 21:59:44 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC03216A4CE; Tue, 18 Jan 2005 21:59:44 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE63043D55; Tue, 18 Jan 2005 21:59:44 +0000 (GMT) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0ILxicI089919; Tue, 18 Jan 2005 21:59:44 GMT (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0ILxiKb089918; Tue, 18 Jan 2005 21:59:44 GMT (envelope-from peter) Message-Id: <200501182159.j0ILxiKb089918@repoman.freebsd.org> From: Peter Wemm Date: Tue, 18 Jan 2005 21:59:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/nfsclient nfs_vfsops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 21:59:45 -0000 peter 2005-01-18 21:59:44 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_vfsops.c Log: Mostly back out rev 1.33 from quite some time ago, and the followup fixes and tweaks. The code was actually quite broken because it discarded the upper bits of the 64 bit division. We only had a 50% chance of scaling up the blocksize for large NFS client mounts when it was needed. For 5.x and beyond, this was harmless because we could represent the result in either case. For 4.x this was a big problem though. (4.x also has a df(1) bug to compound the problem) Revision Changes Path 1.171 +11 -25 src/sys/nfsclient/nfs_vfsops.c