From owner-freebsd-emulation Mon Jan 3 12:12:34 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 4B1F615166; Mon, 3 Jan 2000 12:12:30 -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 06AAF1CA0; Tue, 4 Jan 2000 04:12:27 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: Guido van Rooij Cc: Hidetoshi Shimokawa , vsilyaev@mindspring.com, dillon@freebsd.org, freebsd-emulation@FreeBSD.ORG, dbutter@wireless.net Subject: Re: VMware: Questions... In-Reply-To: Message from Guido van Rooij of "Mon, 03 Jan 2000 20:51:43 +0100." <20000103205143.A44784@gvr.gvr.org> Date: Tue, 04 Jan 2000 04:12:27 +0800 From: Peter Wemm Message-Id: <20000103201227.06AAF1CA0@overcee.netplex.com.au> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Guido van Rooij wrote: > On Tue, Jan 04, 2000 at 03:29:03AM +0800, Peter Wemm wrote: > > > > Heh, yours is simpler than mine. I was attempting a more generic solution > > that marked a vnode as unlinked in the filesystems and the syncer then took > > special care to avoid msyncing them. Mine would have caught the case where > > a file was mmaped first then unlinked and kept open. If the syncer could > > Which is better then mine. But has the same overall effect - ie: stops vmware's temp file being msync'ed. The rest of the stuff is academic unless it actually does something. > > do anything special with unlinked plain files, it would then have the > > information to deal with them too. (It doesn't, so that part is academic). > > FFS already discards dirty blocks on last close if the file is already > > unlinked. > > > > I just committed my patch. If you think yours is better, feel free to back mi ne > out. No, it's not worth it. Yours is tested, mine isn't. :-) Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message