https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281749

--- Comment #44 from [email protected] ---
(In reply to Mateusz Guzik from comment #43)

reproduced with your patch - but, different error -> ENOENT instead of EBADF

[14amd64-myports-job-01] Extracting rust-1.95.0: .....
pkg-static: Failed to set time on
/html/core/arch/x86_64/fn._mm_mask_i32gather_ps.html:No such file or directory
[14amd64-myports-job-01] Extracting rust-1.95.0... done


Diagnostic kernel logging as per first patch, failure on the second VDIR
refcount 2:

reclaim with v_usecount 1
0xfffff80143656c08: type VDIR state VSTATE_DESTROYING op 0xffffffff82414158
    usecount 0, writecount 0, refcount 1 seqc users 1 mountedhere 0
    hold count flags ()
    flags (VIRF_DOOMED)
    lock type zfs: EXCL by thread 0xfffff80040c78780 (pid 0, kernel, tid
100153)
KDB: stack backtrace:
#0 0xffffffff80bbe18d at kdb_backtrace+0x5d
#1 0xffffffff821662ab at zfs_freebsd_reclaim+0x6b
#2 0xffffffff811416fc at VOP_RECLAIM_APV+0x1c
#3 0xffffffff80c60315 at vgonel+0x315
#4 0xffffffff80c5c579 at vnlru_free_impl+0x419
#5 0xffffffff8215cd60 at zfs_prune_task+0x50
#6 0xffffffff8219294b at arc_prune_task+0x1b
#7 0xffffffff821487d7 at taskq_run+0x17
#8 0xffffffff80bd4d82 at taskqueue_run_locked+0x182
#9 0xffffffff80bd5f52 at taskqueue_thread_loop+0xc2
#10 0xffffffff80b2782b at fork_exit+0x7b
#11 0xffffffff8105103e at fork_trampoline+0xe
reclaim with v_usecount 1
0xfffff8010d258c08: type VREG state VSTATE_DESTROYING op 0xffffffff82414158
    usecount 0, writecount 0, refcount 1 seqc users 1
    hold count flags ()
    flags (VIRF_DOOMED)
    lock type zfs: EXCL by thread 0xfffff80040c78780 (pid 0, kernel, tid
100153)
KDB: stack backtrace:
#0 0xffffffff80bbe18d at kdb_backtrace+0x5d
#1 0xffffffff821662ab at zfs_freebsd_reclaim+0x6b
#2 0xffffffff811416fc at VOP_RECLAIM_APV+0x1c
#3 0xffffffff80c60315 at vgonel+0x315
#4 0xffffffff80c5c579 at vnlru_free_impl+0x419
#5 0xffffffff8215cd60 at zfs_prune_task+0x50
#6 0xffffffff8219294b at arc_prune_task+0x1b
#7 0xffffffff821487d7 at taskq_run+0x17
#8 0xffffffff80bd4d82 at taskqueue_run_locked+0x182
#9 0xffffffff80bd5f52 at taskqueue_thread_loop+0xc2
#10 0xffffffff80b2782b at fork_exit+0x7b
#11 0xffffffff8105103e at fork_trampoline+0xe
reclaim with v_usecount 1
0xfffff80041c2e000: type VREG state VSTATE_DESTROYING op 0xffffffff82414158
    usecount 0, writecount 0, refcount 1 seqc users 1
    hold count flags ()
    flags (VIRF_DOOMED)
    lock type zfs: EXCL by thread 0xfffff80040c78780 (pid 0, kernel, tid
100153)
KDB: stack backtrace:
#0 0xffffffff80bbe18d at kdb_backtrace+0x5d
#1 0xffffffff821662ab at zfs_freebsd_reclaim+0x6b
#2 0xffffffff811416fc at VOP_RECLAIM_APV+0x1c
#3 0xffffffff80c60315 at vgonel+0x315
#4 0xffffffff80c5c579 at vnlru_free_impl+0x419
#5 0xffffffff8215cd60 at zfs_prune_task+0x50
#6 0xffffffff8219294b at arc_prune_task+0x1b
#7 0xffffffff821487d7 at taskq_run+0x17
#8 0xffffffff80bd4d82 at taskqueue_run_locked+0x182
#9 0xffffffff80bd5f52 at taskqueue_thread_loop+0xc2
#10 0xffffffff80b2782b at fork_exit+0x7b
#11 0xffffffff8105103e at fork_trampoline+0xe
reclaim with v_usecount 1
0xfffff80007cf41b8: type VREG state VSTATE_DESTROYING op 0xffffffff82414158
    usecount 0, writecount 0, refcount 1 seqc users 1
    hold count flags ()
    flags (VIRF_DOOMED)
    lock type zfs: EXCL by thread 0xfffff80040c78780 (pid 0, kernel, tid
100153)
KDB: stack backtrace:
#0 0xffffffff80bbe18d at kdb_backtrace+0x5d
#1 0xffffffff821662ab at zfs_freebsd_reclaim+0x6b
#2 0xffffffff811416fc at VOP_RECLAIM_APV+0x1c
#3 0xffffffff80c60315 at vgonel+0x315
#4 0xffffffff80c5c579 at vnlru_free_impl+0x419
#5 0xffffffff8215cd60 at zfs_prune_task+0x50
#6 0xffffffff8219294b at arc_prune_task+0x1b
#7 0xffffffff821487d7 at taskq_run+0x17
#8 0xffffffff80bd4d82 at taskqueue_run_locked+0x182
#9 0xffffffff80bd5f52 at taskqueue_thread_loop+0xc2
#10 0xffffffff80b2782b at fork_exit+0x7b
#11 0xffffffff8105103e at fork_trampoline+0xe
reclaim with v_usecount 1
0xfffff80235395370: type VDIR state VSTATE_DESTROYING op 0xffffffff82414158
    usecount 1, writecount 0, refcount 2 seqc users 1 mountedhere 0
    hold count flags ()
    flags (VIRF_DOOMED)
    lock type zfs: EXCL by thread 0xfffff80040c78780 (pid 0, kernel, tid
100153)
KDB: stack backtrace:
#0 0xffffffff80bbe18d at kdb_backtrace+0x5d
#1 0xffffffff821662ab at zfs_freebsd_reclaim+0x6b
#2 0xffffffff811416fc at VOP_RECLAIM_APV+0x1c
#3 0xffffffff80c60315 at vgonel+0x315
#4 0xffffffff80c5c579 at vnlru_free_impl+0x419
#5 0xffffffff8215cd60 at zfs_prune_task+0x50
#6 0xffffffff8219294b at arc_prune_task+0x1b
#7 0xffffffff821487d7 at taskq_run+0x17
#8 0xffffffff80bd4d82 at taskqueue_run_locked+0x182
#9 0xffffffff80bd5f52 at taskqueue_thread_loop+0xc2
#10 0xffffffff80b2782b at fork_exit+0x7b
#11 0xffffffff8105103e at fork_trampoline+0xe
reclaim with v_usecount 1
0xfffff8015b9766e0: type VREG state VSTATE_DESTROYING op 0xffffffff82414158
    usecount 0, writecount 0, refcount 1 seqc users 1
    hold count flags ()
    flags (VIRF_DOOMED)
    lock type zfs: EXCL by thread 0xfffff80040c78780 (pid 0, kernel, tid
100153)
KDB: stack backtrace:
#0 0xffffffff80bbe18d at kdb_backtrace+0x5d
#1 0xffffffff821662ab at zfs_freebsd_reclaim+0x6b
#2 0xffffffff811416fc at VOP_RECLAIM_APV+0x1c
#3 0xffffffff80c60315 at vgonel+0x315
#4 0xffffffff80c5c579 at vnlru_free_impl+0x419
#5 0xffffffff8215cd60 at zfs_prune_task+0x50
#6 0xffffffff8219294b at arc_prune_task+0x1b
#7 0xffffffff821487d7 at taskq_run+0x17
#8 0xffffffff80bd4d82 at taskqueue_run_locked+0x182
#9 0xffffffff80bd5f52 at taskqueue_thread_loop+0xc2
#10 0xffffffff80b2782b at fork_exit+0x7b
#11 0xffffffff8105103e at fork_trampoline+0xe
reclaim with v_usecount 1
0xfffff8004741f1b8: type VDIR state VSTATE_DESTROYING op 0xffffffff82414158
    usecount 1, writecount 0, refcount 2 seqc users 1 mountedhere 0
    hold count flags ()
    flags (VIRF_DOOMED)
    lock type zfs: EXCL by thread 0xfffff80040c78780 (pid 0, kernel, tid
100153)
KDB: stack backtrace:
#0 0xffffffff80bbe18d at kdb_backtrace+0x5d
#1 0xffffffff821662ab at zfs_freebsd_reclaim+0x6b
#2 0xffffffff811416fc at VOP_RECLAIM_APV+0x1c
#3 0xffffffff80c60315 at vgonel+0x315
#4 0xffffffff80c5c579 at vnlru_free_impl+0x419
#5 0xffffffff8215cd60 at zfs_prune_task+0x50
#6 0xffffffff8219294b at arc_prune_task+0x1b
#7 0xffffffff821487d7 at taskq_run+0x17
#8 0xffffffff80bd4d82 at taskqueue_run_locked+0x182
#9 0xffffffff80bd5f52 at taskqueue_thread_loop+0xc2
#10 0xffffffff80b2782b at fork_exit+0x7b
#11 0xffffffff8105103e at fork_trampoline+0xe

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to