I have a report from a FreeBSD user that 7578 caused a problem for him and that the change in this PR fixes it. His panic was different from what was reported here. He got "zfs: allocating allocated segment" in this stack: ``` (kgdb) backtrace #0 doadump (textdump=1) at pcpu.h:222 #1 0xffffffff807c80c6 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:366 #2 0xffffffff807c85a0 in vpanic (fmt=<value optimized out>, ap=<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:759 #3 0xffffffff807c83d3 in panic (fmt=<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:690 #4 0xffffffff81d15192 in vcmn_err (ce=<value optimized out>, fmt=0xffffffff81b3e673 "zfs: allocating allocated segment(offset=%llu size=%llu)\n", adx=0xfffffe201b3df810) at /usr/src/sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c:58 #5 0xffffffff81a843ba in zfs_panic_recover (fmt=<value optimized out>) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c:1595 #6 0xffffffff81a6cf8f in range_tree_add (arg=0xfffff801cd085400, start=51596307456, size=2048) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/range_tree.c:179 #7 0xffffffff81a6bb06 in metaslab_free_dva (spa=<value optimized out>, dva=<value optimized out>, txg=<value optimized out>, now=0) at atomic.h:123 #8 0xffffffff81a6bbc1 in metaslab_free (spa=0xfffff8031275d000, bp=0xfffff80200f08820, txg=8777, now=0) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/metaslab.c:2851 #9 0xffffffff81aaf96a in zio_dva_free (zio=<value optimized out>) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:2897 #10 0xffffffff81aac6cc in zio_execute (zio=0xfffff80200f087b0) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:1681 #11 0xffffffff8081c377 in taskqueue_run_locked (queue=0xfffff8024e085700) at /usr/src/sys/kern/subr_taskqueue.c:454 #12 0xffffffff8081d518 in taskqueue_thread_loop (arg=<value optimized out>) at /usr/src/sys/kern/subr_taskqueue.c:741 ```
His test case was: 1. zfs create -s -V 50T -o logbias=throughput -o volmode=dev -o volblocksize=128k -o compression=lz4 -o dedup=off -o secondarycache=all -o sync=standard zpool/windows 2. exported the LUN via cam layer as an FC target 3. Formated from windows 2012 r2 with 64K blok size NTFS 4. run iometer read test... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/462#issuecomment-328512758 ------------------------------------------ openzfs-developer Archives: https://openzfs.topicbox.com/groups/developer/discussions/Tffbfe5cf4d0c0904-M4fce7f961048f0fe11f33108 Powered by Topicbox: https://topicbox.com