From owner-freebsd-current Tue Dec 16 20:40:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA07499 for current-outgoing; Tue, 16 Dec 1997 20:40:25 -0800 (PST) (envelope-from owner-freebsd-current) Received: from mhub1.tc.umn.edu (0@mhub1.tc.umn.edu [128.101.131.51]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id UAA07494 for ; Tue, 16 Dec 1997 20:40:19 -0800 (PST) (envelope-from adkin003@tc.umn.edu) Received: from gold.tc.umn.edu by mhub1.tc.umn.edu; Tue, 16 Dec 97 22:40:06 -0600 Received: from pub-17-b-156.dialup.umn.edu by gold.tc.umn.edu; Tue, 16 Dec 97 22:40:05 -0600 Date: Tue, 16 Dec 1997 22:39:19 -0600 (CST) From: dave adkins To: Garrett Wollman cc: dave adkins , current@FreeBSD.ORG Subject: Re: netscape problems In-Reply-To: <199712170322.WAA14173@khavrinen.lcs.mit.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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