Re: panic: LK_RETRY set with incompatible flags

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Sun, 03 Feb 2013 19:03:51 +0200
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
Received on Sun Feb 03 2013 - 16:03:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC