Re: git: 315ee00fa961 - main - zfs: merge openzfs/zfs@804414aad
Date: Thu, 31 Aug 2023 02:01:14 UTC
Not the same as the two (different) I got running poudriere on two different machines. Posted to -current. -- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org NTP: <cy@nwtime.org> Web: https://nwtime.org e^(i*pi)+1=0 In message <ZO_aOaf-eGiCMCKy@cell.glebi.us>, Gleb Smirnoff writes: > Hi Martin, > > we hit this panic with this update: > > panic: VERIFY(avl_is_empty(&lwb->lwb_vdev_tree)) failed > > cpuid = 8 > time = 1693432004 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe09519aa80 > 0 > vpanic() at vpanic+0x132/frame 0xfffffe09519aa930 > spl_panic() at spl_panic+0x3a/frame 0xfffffe09519aa990 > zil_free_lwb() at zil_free_lwb+0x1de/frame 0xfffffe09519aa9c0 > zil_sync() at zil_sync+0x3cb/frame 0xfffffe09519aaaa0 > [Wed Aug 30 21:46:44 2023]dmu_objset_sync() at dmu_objset_sync+0x51b/frame 0x > fffffe09519aab70 > dsl_pool_sync() at dsl_pool_sync+0x11d/frame 0xfffffe09519aabf0 > spa_sync() at spa_sync+0xc68/frame 0xfffffe09519aae20 > txg_sync_thread() at txg_sync_thread+0x2eb/frame 0xfffffe09519aaef0 > fork_exit() at fork_exit+0x82/frame 0xfffffe09519aaf30 > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe09519aaf30 > --- trap 0x26d90a2f, rip = 0xbba54c81b25fd8d4, rsp = 0xff60c2f6f9874bcd, rbp > = 0x37940e3e9793bd40 -- > > I have two cores dumped for this panic. > > Our previous version is based on 9c0a2d522f3a18fc795a7dd6266d2be2aff4b084, wh > ich > I guess has the most recent ZFS merge openzfs/zfs@009d3288d. > > On Sun, Aug 27, 2023 at 05:09:06AM +0000, Martin Matuska wrote: > M> The branch main has been updated by mm: > M> > M> URL: https://cgit.FreeBSD.org/src/commit/?id=315ee00fa9616b0a192b6834911f9 > 8bcf5316a6b > M> > M> commit 315ee00fa9616b0a192b6834911f98bcf5316a6b > M> Merge: b3a714652ff0 804414aad224 > M> Author: Martin Matuska <mm@FreeBSD.org> > M> AuthorDate: 2023-08-26 21:20:04 +0000 > M> Commit: Martin Matuska <mm@FreeBSD.org> > M> CommitDate: 2023-08-26 21:51:42 +0000 > M> > M> zfs: merge openzfs/zfs@804414aad > M> > M> Notable upstream pull request merges: > M> #15024 Add missed DMU_PROJECTUSED_OBJECT prefetch > M> #15029 Do not request data L1 buffers on scan prefetch > M> #15036 FreeBSD: catch up to __FreeBSD_version 1400093 > M> #15039 Fix raw receive with different indirect block size > M> #15047 FreeBSD: Fix build on stable/13 after 1302506 > M> #15049 Fix the ZFS checksum error histograms with larger record size > s > M> #15052 Reduce bloat in ereport.fs.zfs.checksum events > M> #15056 Avoid extra snprintf() in dsl_deadlist_merge() > M> #15061 Ignore pool ashift property during vdev attachment > M> #15063 Don't panic if setting vdev properties is unsupported for thi > s vdev type > M> #15067 spa_min_alloc should be GCD, not min > M> #15071 Add explicit prefetches to bpobj_iterate() > M> #15072 Adjust prefetch parameters > M> #15076 Refactor dmu_prefetch() > M> #15079 set autotrim default to 'off' everywhere > M> #15080 ZIL: Fix config lock deadlock > M> #15088 metaslab: tuneable to better control force ganging > M> #15096 Avoid waiting in dmu_sync_late_arrival() > M> #15097 BRT should return EOPNOTSUPP > M> #15103 Remove zl_issuer_lock from zil_suspend() > M> #15107 Remove fastwrite mechanism > M> #15113 libzfs: sendrecv: send_progress_thread: handle SIGINFO/SIGUSR > 1 > M> #15122 ZIL: Second attempt to reduce scope of zl_issuer_lock > M> #15129 zpool_vdev_remove() should handle EALREADY error return > M> #15132 ZIL: Replay blocks without next block pointer > M> #15148 zfs_clone_range should return descriptive error codes > M> #15153 ZIL: Avoid dbuf_read() before dmu_sync() > M> #15172 copy_file_range: fix fallback when source create on same txg > M> #15180 Update outdated assertion from zio_write_compress > M> > M> Obtained from: OpenZFS > M> OpenZFS commit: 804414aad224b432590afe3f9ec114ffb49e0f13 > M> > M> Makefile.inc1 | 5 +- > M> cddl/lib/libzfs/Makefile | 1 + > M> cddl/lib/libzfs/Makefile.depend | 1 + > M> rescue/rescue/Makefile | 2 +- > M> rescue/rescue/Makefile.depend | 1 + > M> share/mk/src.libnames.mk | 2 +- > M> sys/contrib/openzfs/META | 6 +- > M> sys/contrib/openzfs/cmd/zdb/zdb.c | 77 ++- > M> sys/contrib/openzfs/cmd/zed/agents/zfs_mod.c | 2 - > M> sys/contrib/openzfs/cmd/zed/agents/zfs_retire.c | 5 + > M> .../openzfs/cmd/zed/zed.d/statechange-slot_off.sh | 61 ++ > M> sys/contrib/openzfs/cmd/zed/zed.d/zed.rc | 5 + > M> sys/contrib/openzfs/cmd/ztest.c | 2 +- > M> sys/contrib/openzfs/config/Shellcheck.am | 3 +- > M> sys/contrib/openzfs/config/kernel-blkdev.m4 | 138 +++- > M> .../config/kernel-block-device-operations.m4 | 35 +- > M> .../openzfs/config/kernel-filemap-splice-read.m4 | 25 + > M> .../openzfs/config/kernel-register_sysctl_table.m4 | 27 + > M> .../config/kernel-vfs-extended-file_range.m4 | 50 ++ > M> .../openzfs/config/kernel-vfs-file_range.m4 | 164 +++++ > M> sys/contrib/openzfs/config/kernel-vfs-iov_iter.m4 | 26 +- > M> sys/contrib/openzfs/config/kernel.m4 | 16 + > M> sys/contrib/openzfs/contrib/debian/changelog | 6 + > M> .../contrib/debian/openzfs-zfs-test.install | 2 - > M> .../contrib/debian/openzfs-zfsutils.install | 2 + > M> .../contrib/dracut/90zfs/zfs-env-bootfs.service.in | 11 +- > M> .../dracut/90zfs/zfs-rollback-bootfs.service.in | 2 +- > M> .../openzfs/include/os/freebsd/spl/sys/vnode.h | 6 +- > M> .../include/os/linux/kernel/linux/blkdev_compat.h | 17 + > M> .../openzfs/include/os/linux/spl/sys/kmem_cache.h | 8 + > M> .../openzfs/include/os/linux/spl/sys/types.h | 2 +- > M> sys/contrib/openzfs/include/os/linux/spl/sys/uio.h | 12 + > M> sys/contrib/openzfs/include/os/linux/zfs/sys/zpl.h | 53 ++ > M> sys/contrib/openzfs/include/sys/bpobj.h | 2 +- > M> sys/contrib/openzfs/include/sys/brt.h | 1 + > M> sys/contrib/openzfs/include/sys/dmu.h | 5 + > M> sys/contrib/openzfs/include/sys/dmu_impl.h | 2 - > M> sys/contrib/openzfs/include/sys/dmu_zfetch.h | 2 - > M> sys/contrib/openzfs/include/sys/fm/fs/zfs.h | 4 - > M> sys/contrib/openzfs/include/sys/metaslab.h | 3 - > M> sys/contrib/openzfs/include/sys/metaslab_impl.h | 6 +- > M> sys/contrib/openzfs/include/sys/spa_impl.h | 1 + > M> sys/contrib/openzfs/include/sys/vdev_impl.h | 2 +- > M> sys/contrib/openzfs/include/sys/zil_impl.h | 44 +- > M> sys/contrib/openzfs/include/sys/zio.h | 1 - > M> sys/contrib/openzfs/include/sys/zio_checksum.h | 2 - > M> sys/contrib/openzfs/lib/libzfs/Makefile.am | 2 +- > M> sys/contrib/openzfs/lib/libzfs/libzfs_pool.c | 6 + > M> sys/contrib/openzfs/lib/libzfs/libzfs_sendrecv.c | 95 ++- > M> sys/contrib/