Date: Mon, 4 Mar 2019 20:03:31 -0500 From: Nick Rogers <ncrogers@gmail.com> To: Andriy Gapon <avg@freebsd.org> Cc: FreeBSD STABLE <freebsd-stable@freebsd.org> Subject: Re: 12.0-RELEASE zfs/vnode deadlock issue Message-ID: <CAKOb=YasppxTsEiow1rj0W%2BKRm6kWriD98yTm8CAgcUn=X=F8g@mail.gmail.com> In-Reply-To: <ebf49f31-7b9a-815e-3d04-aa44533f57ba@FreeBSD.org> References: <CAKOb=YaLSPPRrLWGPbcDt0tKqS2h3mT2dLo92aK3r-8O%2B3SHTw@mail.gmail.com> <233f3723-a78e-91db-ebe6-9e13c1c9b50d@FreeBSD.org> <CAKOb=YYkuH=8Q94wi=q_zB%2BMS%2BNWXr5Q3_VRarYS5zTz%2BSPfUw@mail.gmail.com> <ebf49f31-7b9a-815e-3d04-aa44533f57ba@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 4, 2019 at 5:29 PM Andriy Gapon <avg@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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKOb=YasppxTsEiow1rj0W%2BKRm6kWriD98yTm8CAgcUn=X=F8g>