From owner-freebsd-current Tue May 7 16:39:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by hub.freebsd.org (Postfix) with ESMTP id 091C737B400 for ; Tue, 7 May 2002 16:39:53 -0700 (PDT) Received: from localhost qhwt@smtp-send.myrealbox.com [61.198.168.210] by smtp-send.myrealbox.com with Novell NIMS $Revision: 2.88.1.1 $ on Novell NetWare; Tue, 07 May 2002 17:39:46 -0600 Date: Wed, 8 May 2002 08:41:09 +0900 From: qhwt@myrealbox.com To: Joshua Goodall Cc: current@freebsd.org, Jeff Roberson Subject: Re: LOOKUP_SHARED is default now Message-ID: <20020507234109.GA397.qhwt@myrealbox.com> References: <20020409010420.R16729-100000@mail.chesapeake.net> <20020506065327.GA34586.qhwt@myrealbox.com> <20020506150332.GA38157@roughtrade.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020506150332.GA38157@roughtrade.net> User-Agent: Mutt/1.5.0i X-Dispatcher: imput version 20000228(IM140) Lines: 24 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 Hello. On Tue, May 07, 2002 at 01:03:32AM +1000, Joshua Goodall wrote: > On Mon, May 06, 2002 at 03:53:27PM +0900, qhwt@myrealbox.com wrote: > > I've been struggling upgrading kernel since beginning of April, and finally > > found I have to add "options LOOKUP_EXCLUSIVE" to my kernel config file. > > Without LOOKUP_EXCLUSIVE, > > - some of the processes stall in "inode" state, and can't be killed > > by any signals > > - shutting down(and maybe unmounting) the system results in the panic: > > lockmgr: upgrade exclusive lock > > > > The stalling processes are all touching files under nullfs-mounted > > directories, so I think nullfs code is not yet LOOKUP_SHARED-safe. > > If anyone is interested, I can post the backtrace and my kernel config > > (after upgrading the world and rebuilding the panicking kernel). > > If you're feeling experimental try the change in PR kern/37270. It > makes nullfs partially safe w.r.t. LOOKUP_SHARED, although there > are still easily reproducable deadlocks (possible interactions with > the syncer and/or vnlru processes but nothing concrete; at least, > not from me). Thanks. I completely overlooked this one. I'll look into this later. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message