From owner-freebsd-current Tue Jan 19 02:46:54 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA18898 for freebsd-current-outgoing; Tue, 19 Jan 1999 02:46:54 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from frolic.no-support.loc (ppp39-41.hrz.uni-bielefeld.de [129.70.39.41]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA18889; Tue, 19 Jan 1999 02:46:43 -0800 (PST) (envelope-from bfischer@Techfak.Uni-Bielefeld.DE) Received: (from bjoern@localhost) by frolic.no-support.loc (8.9.1/8.8.8/Debian/GNU) id LAA38890; Tue, 19 Jan 1999 11:38:51 +0100 (CET) From: Bjoern Fischer Date: Tue, 19 Jan 1999 11:38:50 +0100 To: Luoqi Chen Cc: dillon@apollo.backplane.com, skynyrd@opus.cts.cwu.edu, freebsd-current@FreeBSD.ORG, jdp@polstra.com, luoqi@FreeBSD.ORG Subject: Re: NFS problem found - pleaes try this patch. Message-ID: <19990119113849.A36643@frolic.no-support.loc> References: <199901181505.KAA15315@lor.watermarkgroup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <199901181505.KAA15315@lor.watermarkgroup.com>; from Luoqi Chen on Mon, Jan 18, 1999 at 10:05:50AM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jan 18, 1999 at 10:05:50AM -0500, Luoqi Chen wrote: > The check is correct and should be there, the B_CACHE bit was cleared because > I made a mistake when setting the valid bit in the vm page. [...] > Note the calculation of ev, the original code was a round-up and I changed it > to round-down in my -r1.188 commit (I thought it was a bug in the original > code, but it was actually me who didn't understand the nfs code well enough). The patch seems to solve the problem as nfs behaves as it did prior to -r1.188. Thanks. But there's still something wrong: When shutting down the server it still sometimes panics in vinvalbuf() complaining 'bout dirty pages. On the client side vi dies of SEGV (edited file and /var/tmp/vi.recover on nfs fs) generating a wrong sized recover file. After that the server panics on shutdown. Without triggering the bug it shuts down gracefully. I'll try to receipe a situation for easily reproducing this. Bjoern -- -----BEGIN GEEK CODE BLOCK----- GCS d--(+) s++: a- C+++(-) UBL++++OSI++++$ P+++(-) L+++(-) !E W- N+ o>+ K- !w !O !M !V PS++ PE- PGP++ t+++ !5 X++ tv- b+++ D++ G e+ h-- y+ ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message