Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 1997 17:37:59 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Jaye Mathisen  <mrcpu@cdsnet.net>
Cc:        "John S. Dyson" <toor@dyson.iquest.net>, hackers@FreeBSD.ORG
Subject:   Re: Serious performance issue with 2.2.5-RELEASE
Message-ID:  <199711210037.RAA12201@mt.sri.com>
In-Reply-To: <Pine.NEB.3.95.971120145955.23652X-100000@mail.cdsnet.net>
References:  <199711202155.QAA03288@dyson.iquest.net> <Pine.NEB.3.95.971120145955.23652X-100000@mail.cdsnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711210037.RAA12201>