From owner-freebsd-hackers Wed Nov 6 12:39:14 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA23653 for hackers-outgoing; Wed, 6 Nov 1996 12:39:14 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA23647; Wed, 6 Nov 1996 12:39:10 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA08732; Wed, 6 Nov 1996 13:31:20 -0700 From: Terry Lambert Message-Id: <199611062031.NAA08732@phaeton.artisoft.com> Subject: Re: Davidg bug (was: mount panics & hangs) To: julian@whistle.com (Julian Elischer) Date: Wed, 6 Nov 1996 13:31:19 -0700 (MST) Cc: terry@lambert.org, archie@whistle.com, freebsd-hackers@FreeBSD.org, davidg@FreeBSD.org In-Reply-To: <3280E3BC.15FB7483@whistle.com> from "Julian Elischer" at Nov 6, 96 11:15:08 am X-Mailer: ELM [version 2.4 PL24] 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 > If you want I can try work a patch and send it to you > for comments. (though I don't yet understand why there needs to be > both vfs_busy and vfs_lock) Lock for drain (no additional entry is allowed, current users should exit), lock for object destruction (all current users must have exited). The idea is that there might be some latent operations that haven't completed, and you want to let them complete before you do your thing, but you want to make sure no new operations start after you decide to do your thing but before you can safely do it. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.