12.0-RELEASE zfs/vnode deadlock issue
Nick Rogers
ncrogers at gmail.com
Tue Mar 5 01:03:45 UTC 2019
On Mon, Mar 4, 2019 at 5:29 PM Andriy Gapon <avg at freebsd.org> wrote:
> On 04/03/2019 22:35, Nick Rogers wrote:
> > v_lock = {lock_object = {lo_name =
> > 0xffffffff8144af45 "zfs", lo_flags = 117112840, lo_data = 0, lo_witness =
> > 0x0}, lk_lock = 18446744073709551605, lk_exslpfail = 0, lk_timo = 51,
> > lk_pri = 96}
>
> Hmm, lk_lock looks bogus.
> 18446744073709551605 == 0xfffffffffffffff5 and it's LK_SHARE |
> LK_EXCLUSIVE_WAITERS with 0xfffffffffffffff shared owners.
> Perhaps, this is a result of LK_SHARERS_LOCK(-1).
>
> Is your kernel compiled with INVARIANTS and INVARIANT_SUPPORT?
> I suspect that the vnode was accessed (unlocked?) through a stale pointer
> after
> it was recycled.
>
I don't believe so - it's basically amd64 GENERIC w/ a reduced set of
modules and static zfs option.
> --
> Andriy Gapon
>
More information about the freebsd-stable
mailing list