From owner-freebsd-current Tue Oct 8 12:18:27 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 860EB37B401; Tue, 8 Oct 2002 12:18:26 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [205.130.220.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97C6643E42; Tue, 8 Oct 2002 12:18:25 -0700 (PDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id g98JILM45137; Tue, 8 Oct 2002 15:18:21 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 8 Oct 2002 15:18:21 -0400 (EDT) From: Jeff Roberson To: Don Lewis Cc: current@FreeBSD.ORG, Subject: Re: vnode lock assertion failure in nfs_doio() In-Reply-To: <200210020836.g928akvU015378@gw.catspoiler.org> Message-ID: <20021008151746.E75846-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Wed, 2 Oct 2002, Don Lewis wrote: > Version 1.114 of nfs_bio.c added a call to ASSERT_VOP_LOCKED() to > nfs_doio(). I've been running a kernel with the DEBUG_VFS_LOCKS option > and I can consistently get this assertion to fail by running mozilla > with an nfs mounted home directory. The DDB stack trace indicates this > assertion fails when nfs_doio() is called from nfssvc_iod(), which is > used by the nfsiod. > > I tried wrapping the bracketing calls to nfs_doio() in nfssvc_iod() with > calls to vn_lock() and VOP_UNLOCK(), but I then get what appears to be > an interruptable deadlock ... > > Can you file a PR on this against me? I don't want to forget it, but I don't have time right at the moment to look at it. Thanks! Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message