Re: ZFS deadlock in 14

From: Mark Millard <marklmi_at_yahoo.com>
Date: Fri, 18 Aug 2023 23:03:53 UTC
I believe the below quoted messages were reports of deadlocks
based on after the following 2 MFV being in place in their
environments:

Thu, 10 Aug 2023
. . .
    • git: cd25b0f740f8 - main - zfs: cherry-pick fix from openzfs Martin Matuska 
    • git: 28d2e3b5dedf - main - zfs: cherry-pick fix from openzfs Martin Matuska

Kevin Bowling <kevin.bowling_at_kev009.com> wrote on
Date: Fri, 11 Aug 2023 03:32:51 UTC :

> Spoke too soon still seeing zfs lockups under heavy poudriere workload
> after the MFVs. Regression time matches what has been reported here.
> . . .
> > In message
> > <CAK7dMtDJQtaai3_6VjEkwVwW5JN6e8v=kKTOPffp371xb=ORUg@mail.gmail.c
> > om>
> > , Kevin Bowling writes:
> > > The two MFVs on head have improved/fixed stability with poudriere for
> > > me 48 core bare metal.

Cy Schubert <Cy.Schubert_at_cschubert.com> wrote on
Date: Sat, 12 Aug 2023 04:55:40 UTC :

> The poudriere build machine building amd64 packages also panicked. But with:
> 
> Dumping 2577 out of 8122 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91
> %
> 
> __curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h:59
> 59 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct 
> pcpu
> ,
> (kgdb) #0 __curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h:5
> 9
> #1 doadump (textdump=textdump@entry=1)
> at /opt/src/git-src/sys/kern/kern_shutdown.c:407
> #2 0xffffffff806c10e0 in kern_reboot (howto=260)
> at /opt/src/git-src/sys/kern/kern_shutdown.c:528
> #3 0xffffffff806c15df in vpanic (
> fmt=0xffffffff80b6c5f5 "%s: possible deadlock detected for %p (%s), 
> blocked
> for %d ticks\n", ap=ap@entry=0xfffffe008e698e90)
> at /opt/src/git-src/sys/kern/kern_shutdown.c:972
> #4 0xffffffff806c1383 in panic (fmt=<unavailable>)
> at /opt/src/git-src/sys/kern/kern_shutdown.c:896
> #5 0xffffffff8064a5ea in deadlkres ()
> at /opt/src/git-src/sys/kern/kern_clock.c:201
> #6 0xffffffff80677632 in fork_exit (callout=0xffffffff8064a2c0 <deadlkres>,
> arg=0x0, frame=0xfffffe008e698f40)
> at /opt/src/git-src/sys/kern/kern_fork.c:1162
> #7 <signal handler called>
> (kgdb)
> 




===
Mark Millard
marklmi at yahoo.com