From owner-freebsd-current Mon Aug 5 13:13: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7173A37B400 for ; Mon, 5 Aug 2002 13:13:07 -0700 (PDT) Received: from fasterix.frmug.org (fasterix.frmug.org [137.194.36.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EE5B43E42 for ; Mon, 5 Aug 2002 13:13:06 -0700 (PDT) (envelope-from pb@fasterix.frmug.org) Received: from fasterix.frmug.org (localhost [127.0.0.1]) by fasterix.frmug.org (8.12.5/8.12.5) with ESMTP id g75KCwJU079100 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 5 Aug 2002 22:12:58 +0200 (CEST) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.12.5/8.12.5/Submit) id g75KClkw079096; Mon, 5 Aug 2002 22:12:47 +0200 (CEST) Date: Mon, 5 Aug 2002 22:12:47 +0200 From: Pierre Beyssac To: Bruce Evans Cc: freebsd-current@FreeBSD.ORG Subject: Re: deadlock in fs/msdosfs/msdosfs_vnops.c:msdosfs_fsync() Message-ID: <20020805221247.A78878@fasterix.frmug.org> References: <20020805104153.A37733@bofh.enst.fr> <20020805203323.M17317-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020805203323.M17317-100000@gamplex.bde.org>; from bde@zeta.org.au on Mon, Aug 05, 2002 at 09:19:47PM +1000 X-message-flag: Warning! Use of Microsoft Outlook is dangerous and makes your system susceptible to worms and viruses Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Aug 05, 2002 at 09:19:47PM +1000, Bruce Evans wrote: > msdosfs_fsync() doesn't honor the MNT_NOWAIT flag. This might explain > your problem. Thanks. But apparently it's not where my problem lies. I've tested your patch, slightly updated with VI_LOCK(vp) and VI_UNLOCK(vp) at strategic places as in the current code, and it still hangs at the msleep, so apparently I'm in the MNT_WAIT case. -- Pierre Beyssac pb@fasterix.frmug.org pb@fasterix.freenix.org Free domains: http://www.eu.org/ or mail dns-manager@EU.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message