Re: Serious performance issue with 2.2.5-RELEASE

[ Available lists | Index of freebsd-hackers | Month of Nov 1997 | Week of 20 Nov 1997 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Nate Williams <nate@mt.sri.com>
Date
20 Nov 1997 16:38:13
Subject
Re: Serious performance issue with 2.2.5-RELEASE
Message-ID
199711210037.RAA12201@mt.sri.com

In reply to

[ Hide this part ]
> 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


Elapsed time: 0.155 seconds