From owner-freebsd-emulation Mon Jan 3 12:22:30 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 283F9150FB; Mon, 3 Jan 2000 12:22:27 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id CD4A51CCE; Tue, 4 Jan 2000 04:22:21 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: Matthew Dillon Cc: Guido van Rooij , Hidetoshi Shimokawa , vsilyaev@mindspring.com, dillon@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG, dbutter@wireless.net Subject: Re: VMware: Questions... In-Reply-To: Message from Matthew Dillon of "Mon, 03 Jan 2000 11:59:54 PST." <200001031959.LAA08461@apollo.backplane.com> Date: Tue, 04 Jan 2000 04:22:21 +0800 From: Peter Wemm Message-Id: <20000103202221.CD4A51CCE@overcee.netplex.com.au> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Matthew Dillon wrote: > :> that marked a vnode as unlinked in the filesystems and the syncer then too k > :> special care to avoid msyncing them. Mine would have caught the case wher e > :> a file was mmaped first then unlinked and kept open. If the syncer could > : > :Which is better then mine. > :... > > Well, yes and no. I'd rather not get *too* fancy because, if this > catches on, programs will start using the new flag anyway and we will > be left with a lot of cruft in the kernel source that nobody uses any > more. I tend to agree. I went looking for hammers that I knew about - ie: catching the last-unlink events. Having said that, I do like the "after the event" option though... ie: rm'ing an in-use mmap'ed file stops it being msynced by syncer. It's quite simple to do and doesn't add much at all. However, it's not worth doing it this way when it has a footprint all the way down into the filesystems when there's a much easier way of fixing the problem at hand (vmware). Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message