panic: LK_RETRY set with incompatible flags

Rick Macklem rmacklem at uoguelph.ca
Mon Feb 4 01:07:47 UTC 2013


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


More information about the freebsd-current mailing list