From owner-freebsd-hackers Mon Apr 14 15:58:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA21410 for hackers-outgoing; Mon, 14 Apr 1997 15:58:04 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA21391; Mon, 14 Apr 1997 15:57:57 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.8.4/8.6.9) id RAA02060; Mon, 14 Apr 1997 17:56:56 -0500 (EST) From: "John S. Dyson" Message-Id: <199704142256.RAA02060@dyson.iquest.net> Subject: Re: vnode as filesystem (crash!) In-Reply-To: <199704142055.NAA19330@phaeton.artisoft.com> from Terry Lambert at "Apr 14, 97 01:55:10 pm" To: terry@lambert.org (Terry Lambert) Date: Mon, 14 Apr 1997 17:56:56 -0500 (EST) Cc: mtaylor@cybernet.com, hackers@freebsd.org, bugs@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I believe FreeBSD is missing a number of calls to vnode_pager_setsize() > that NetBSD has. > Actually, vnode_pager_setsize (and it's equally often evil friend, vnode_pager_uncache) are used too often (and incorrectly) in the original (Lite/2) code. > > There is also a FreeBSD ftruncate() case where if the indirect blocks > are not zero, FreeBSD will we itself (NetBSD fixed this too). > I didn't know about that. John