Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Feb 2013 19:03:51 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Rick Macklem <rmacklem@uoguelph.ca>, Sergey Kandaurov <pluknet@gmail.com>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, FreeBSD Current <freebsd-current@FreeBSD.org>
Subject:   Re: panic: LK_RETRY set with incompatible flags
Message-ID:  <510E9877.5000701@FreeBSD.org>
In-Reply-To: <74133619.2630890.1359909414548.JavaMail.root@erie.cs.uoguelph.ca>
References:  <74133619.2630890.1359909414548.JavaMail.root@erie.cs.uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
on 03/02/2013 18:36 Rick Macklem said the following:
> I can think of two possibilities:
> 1 - ZFS isn't setting VV_ROOT on the root vnode under some condition.
> or
> 2 - The vnode was left locked from some previous operation that happened
>     to be done by this thread. Doesn't seem likely, but???
> 
> Maybe Sergey could try the change to line#1451 and see if the panic
> still happens. If not, that would suggest possibility #1, I think.

If the kernel is configured with witness, then it should be easy to check where
the exclusive lock was taken (file and line number).

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?510E9877.5000701>