Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2002 15:53:27 +0900
From:      qhwt@myrealbox.com
To:        Jeff Roberson <jroberson@chesapeake.net>
Cc:        current@freebsd.org
Subject:   Re: LOOKUP_SHARED is default now
Message-ID:  <20020506065327.GA34586.qhwt@myrealbox.com>
In-Reply-To: <20020409010420.R16729-100000@mail.chesapeake.net>
References:  <20020409010420.R16729-100000@mail.chesapeake.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.

On Tue, Apr 09, 2002 at 01:08:04AM -0400, Jeff Roberson wrote:
> This patch has seriously reduced file system deadlocks for several people.
> It also makes concurrent file system access much faster in certain cases.
> Since I have only heard good reports and no bad reports I'm going to
> enable it by default.  If you do experience some file system deadlocks
> please let me know.  You may revert to the previous behavior with 'options
> LOOKUP_EXCLUSIVE'.  I will take this away after a month or so if there are
> no problems.

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).

Regards.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020506065327.GA34586.qhwt>