From owner-freebsd-hackers Thu Nov 20 16:38:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA24755 for hackers-outgoing; Thu, 20 Nov 1997 16:38:13 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA24742 for ; Thu, 20 Nov 1997 16:38:09 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id RAA22144; Thu, 20 Nov 1997 17:38:03 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id RAA12201; Thu, 20 Nov 1997 17:37:59 -0700 Date: Thu, 20 Nov 1997 17:37:59 -0700 Message-Id: <199711210037.RAA12201@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Jaye Mathisen Cc: "John S. Dyson" , hackers@FreeBSD.ORG Subject: Re: Serious performance issue with 2.2.5-RELEASE In-Reply-To: References: <199711202155.QAA03288@dyson.iquest.net> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Can somebody mail me the 1.104.2.3 rev of this file? I tried to get to > ftp.freebsd.org, but it's unavailable. You don't want that rev, you just want the changes made that John pointed out. Try this with patch -R Nate ---------- =================================================================== RCS file: /home/CVS/src/sys/kern/vfs_bio.c,v retrieving revision 1.104.2.5 retrieving revision 1.104.2.6 diff -u -r1.104.2.5 -r1.104.2.6 --- vfs_bio.c 1997/05/31 10:36:23 1.104.2.5 +++ vfs_bio.c 1997/06/21 13:32:58 1.104.2.6 @@ -887,8 +887,10 @@ if (!bp) { /* wait for a free buffer of any kind */ needsbuffer = 1; - tsleep(&needsbuffer, - (PRIBIO + 1) | slpflag, "newbuf", slptimeo); + do + tsleep(&needsbuffer, (PRIBIO + 1) | slpflag, "newbuf", + slptimeo); + while (needsbuffer); return (0); } Index: vfs_bio.c