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

next in thread | previous in thread | raw e-mail | index | archive | help
Andriy Gapon wrote:
> 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).
> 
Yep. If Sergey can reproduce this using a kernel with witness,
doing "show witness" to see where the lock on the directory vnode
was acquired, could be helpful.

rick

> --
> Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1515954355.2640466.1359940065810.JavaMail.root>