Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 1997 22:39:19 -0600 (CST)
From:      dave adkins <adkin003@tc.umn.edu>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        dave adkins <adkin003@tc.umn.edu>, current@FreeBSD.ORG
Subject:   Re: netscape problems
Message-ID:  <Pine.NEB.3.96.971216223641.1039A-100000@samthedog>
In-Reply-To: <199712170322.WAA14173@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 16 Dec 1997, Garrett Wollman wrote:

> It's probably bogusly expecting to poll on a file.  Hmmm... I guess I
> did break the interface slightly.
> 
> Try adding this code to vop_stdpoll:
> 
> 	if ((ap->a_events & ~POLLSTANDARD) == 0)
> 		return ((ap->a_events & (POLLRDNORM|POLLWRNORM)));
> 
> That will restore the old behavior of always returning true for those
> requests.  If that fixes it...
> 
> -GAWollman
> 
> --
> Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
> wollman@lcs.mit.edu  | O Siem / The fires of freedom 
> Opinions not those of| Dance in the burning flame
> MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick
> 
> 

That fixes it. No more netscape hangs during file cache reads.

thanks.

dave




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96.971216223641.1039A-100000>