From owner-freebsd-fs@FreeBSD.ORG Thu Aug 3 20:02:07 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3D3A16A4DE for ; Thu, 3 Aug 2006 20:02:07 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30315.mail.mud.yahoo.com (web30315.mail.mud.yahoo.com [68.142.201.233]) by mx1.FreeBSD.org (Postfix) with SMTP id 264A843D72 for ; Thu, 3 Aug 2006 20:02:00 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 61100 invoked by uid 60001); 3 Aug 2006 20:01:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=adI6jR0rh/jJ/ZVgir8ZPKHPiLMyxejUp8w5zp2/4u99dyGQkNp/q7gXXA6G3rnT2VsW8n8fr/LdvHghfkzdSeKuL/twZGG0ip6s9lrXBJDZL3rahVLG3auEDeFmz6wCFiBNhf4stOzdz58ua0/xmtTCEa8gY3UDL+9no566rjo= ; Message-ID: <20060803200158.61098.qmail@web30315.mail.mud.yahoo.com> Received: from [213.54.80.200] by web30315.mail.mud.yahoo.com via HTTP; Thu, 03 Aug 2006 13:01:58 PDT Date: Thu, 3 Aug 2006 13:01:58 -0700 (PDT) From: "R. B. Riddick" To: Eric Anderson In-Reply-To: <44D253C7.6030108@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-fs@freebsd.org Subject: Re: locking questions (regarding file systems) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Aug 2006 20:02:07 -0000 --- Eric Anderson wrote: > I just did, and looks like the g_vfs_close directly after the g_vfs_open > block (I copy-pasted) works ok. When unmounting, it then panics on > g_vfs_close, probably because it's already closed from before. > So the sequence: ... g_vfs_open(...); g_vfs_close(...); ... works fine. What r u doing between the mount and the unmount calls? Maybe something changes, so that ...close() deadlocks? Did u try to put debug printf's in the g_vfs_close() function? :-) Or is there a program somewhere, that uses g_vfs_open/close? Maybe u could learn/copy&paste from hpfs? http://fxr.watson.org/fxr/ident?i=g_vfs_close -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com