[Bug 258208] [zfs] locks up when using rollback or destroy on both 13.0-RELEASE & sysutils/openzfs port
Date: Thu, 02 Sep 2021 10:15:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258208 --- Comment #1 from Dave Cottlehuber <dch@freebsd.org> --- ## zfs-kmod-v2021073000-zfs_7eebcd2be sudo zfs destroy -vrRf 'embiggen/koans' will destroy embiggen/koans/cache/koan-ci/6253a9f1f8df5d292b0c675fafde7351c89d4e76587b8de7d7b76e699acdccf6 load: 0.29 cmd: sudo 95533 [select] 1104.21r 0.00u 0.01s 0% 8120k mi_switch+0xc1 sleepq_catch_signals+0x2e6 sleepq_wait_sig+0x9 _cv_wait_sig+0xe4 seltdwait+0xa9 kern_poll+0x51b sys_ppoll+0x6f amd64_syscall+0x10c fast_syscall_common+0xf8 ^C load: 0.44 cmd: sudo 95533 [select] 2002.06r 0.00u 0.01s 0% 8120k mi_switch+0xc1 sleepq_catch_signals+0x2e6 sleepq_wait_sig+0x9 _cv_wait_sig+0xe4 seltdwait+0xa9 kern_poll+0x51b sys_ppoll+0x6f amd64_syscall+0x10c fast_syscall_common+0xf8 load: 0.48 cmd: sudo 95533 [select] 3931.90r 0.00u 0.01s 0% 8120k mi_switch+0xc1 sleepq_catch_signals+0x2e6 sleepq_wait_sig+0x9 _cv_wait_sig+0xe4 seltdwait+0xa9 kern_poll+0x51b sys_ppoll+0x6f amd64_syscall+0x10c fast_syscall_common+0xf8 ## subsequent commands hang # bectl list ^C load: 0.46 cmd: bectl 97606 [zfs teardown] 1221.12r 0.00u 0.01s 0% 8056k mi_switch+0xc1 _sleep+0x1cb rms_rlock_fallback+0x90 zfs_statfs+0x32 kern_getfsstat+0x202 sys_getfsstat+0x22 amd64_syscall+0x10c fast_syscall_common+0xf8 ``` ## zpool events -vf From last "sync event" prior to the hanging destroy ``` Sep 2 2021 08:39:43.644450230 sysevent.fs.zfs.config_sync version = 0x0 class = "sysevent.fs.zfs.config_sync" pool = "embiggen" pool_guid = 0xb2c159b5522179d6 pool_state = 0x0 pool_context = 0x0 time = 0x61308dcf 0x266987b6 eid = 0x9 Sep 2 2021 08:42:38.680064715 sysevent.fs.zfs.history_event version = 0x0 class = "sysevent.fs.zfs.history_event" pool = "embiggen" pool_guid = 0xb2c159b5522179d6 pool_state = 0x0 pool_context = 0x0 history_hostname = "wintermute.skunkwerks.at" history_dsname = "embiggen/koans/clones/h2o/0e6074eb51ffe7c5d478cb154327221d0355248e/%rollback" history_internal_str = "parent=0e6074eb51ffe7c5d478cb154327221d0355248e" history_internal_name = "clone swap" history_dsid = 0x1ea history_txg = 0x1019819 history_time = 0x61308e7e time = 0x61308e7e 0x2888f6cb eid = 0xa Sep 2 2021 08:42:38.698068059 sysevent.fs.zfs.history_event version = 0x0 class = "sysevent.fs.zfs.history_event" pool = "embiggen" pool_guid = 0xb2c159b5522179d6 pool_state = 0x0 pool_context = 0x0 history_hostname = "wintermute.skunkwerks.at" history_dsname = "embiggen/koans/clones/h2o/0e6074eb51ffe7c5d478cb154327221d0355248e/%rollback" history_internal_str = "(bptree, mintxg=16881555)" history_internal_name = "destroy" history_dsid = 0x1ea history_txg = 0x1019819 history_time = 0x61308e7e time = 0x61308e7e 0x299bac5b eid = 0xb Sep 2 2021 08:42:39.009063859 sysevent.fs.zfs.history_event version = 0x0 class = "sysevent.fs.zfs.history_event" pool = "embiggen" pool_guid = 0xb2c159b5522179d6 pool_state = 0x0 pool_context = 0x0 history_hostname = "wintermute.skunkwerks.at" history_dsname = "embiggen/koans/clones/h2o/0e6074eb51ffe7c5d478cb154327221d0355248e/%rollback" history_internal_str = "parent=0e6074eb51ffe7c5d478cb154327221d0355248e" history_internal_name = "clone swap" history_dsid = 0x1f8 history_txg = 0x101981e history_time = 0x61308e7f time = 0x61308e7f 0x8a4db3 eid = 0xc Sep 2 2021 08:42:39.011064352 sysevent.fs.zfs.history_event version = 0x0 class = "sysevent.fs.zfs.history_event" pool = "embiggen" pool_guid = 0xb2c159b5522179d6 pool_state = 0x0 pool_context = 0x0 history_hostname = "wintermute.skunkwerks.at" history_dsname = "embiggen/koans/clones/h2o/0e6074eb51ffe7c5d478cb154327221d0355248e/%rollback" history_internal_str = "(bptree, mintxg=16881555)" history_internal_name = "destroy" history_dsid = 0x1f8 history_txg = 0x101981e history_time = 0x61308e7f time = 0x61308e7f 0xa8d420 eid = 0xd Sep 2 2021 08:42:41.355063329 sysevent.fs.zfs.history_event version = 0x0 class = "sysevent.fs.zfs.history_event" pool = "embiggen" pool_guid = 0xb2c159b5522179d6 pool_state = 0x0 pool_context = 0x0 history_hostname = "wintermute.skunkwerks.at" history_dsname = "embiggen/koans/cache/h2o/338ff637ff357ba38882e44d01251c511523ab67f2be5827b25d9de423544eb3@c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8" history_internal_str = " " history_internal_name = "snapshot" history_dsid = 0x3b4 history_txg = 0x101981f history_time = 0x61308e81 time = 0x61308e81 0x1529d621 eid = 0xe Sep 2 2021 08:42:41.496063945 sysevent.fs.zfs.history_event version = 0x0 class = "sysevent.fs.zfs.history_event" pool = "embiggen" pool_guid = 0xb2c159b5522179d6 pool_state = 0x0 pool_context = 0x0 history_hostname = "wintermute.skunkwerks.at" history_dsname = "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8" history_internal_str = "origin=embiggen/koans/templates/12.2-RELEASE@pristine (35650)" history_internal_name = "clone" history_dsid = 0x1ea history_txg = 0x1019820 history_time = 0x61308e81 time = 0x61308e81 0x1d9155c9 eid = 0xf Sep 2 2021 08:42:41.648063789 sysevent.fs.zfs.history_event version = 0x0 class = "sysevent.fs.zfs.history_event" pool = "embiggen" pool_guid = 0xb2c159b5522179d6 pool_state = 0x0 pool_context = 0x0 history_hostname = "wintermute.skunkwerks.at" history_dsname = "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8@pristine" history_internal_str = " " history_internal_name = "snapshot" history_dsid = 0x328 history_txg = 0x1019821 history_time = 0x61308e81 time = 0x61308e81 0x26a0ab2d eid = 0x10 Sep 2 2021 08:42:41.923063860 sysevent.fs.zfs.history_event version = 0x0 class = "sysevent.fs.zfs.history_event" pool = "embiggen" pool_guid = 0xb2c159b5522179d6 pool_state = 0x0 pool_context = 0x0 history_hostname = "wintermute.skunkwerks.at" history_dsname = "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8/%rollback" history_internal_str = "parent=c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8" history_internal_name = "clone swap" history_dsid = 0x27d history_txg = 0x1019826 history_time = 0x61308e81 time = 0x61308e81 0x3704d634 eid = 0x11 Sep 2 2021 08:42:41.926063583 sysevent.fs.zfs.history_event version = 0x0 class = "sysevent.fs.zfs.history_event" pool = "embiggen" pool_guid = 0xb2c159b5522179d6 pool_state = 0x0 pool_context = 0x0 history_hostname = "wintermute.skunkwerks.at" history_dsname = "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8/%rollback" history_internal_str = "(bptree, mintxg=16881697)" history_internal_name = "destroy" history_dsid = 0x27d history_txg = 0x1019826 history_time = 0x61308e81 time = 0x61308e81 0x37329bdf eid = 0x12 Sep 2 2021 08:42:44.748063744 sysevent.fs.zfs.history_event version = 0x0 class = "sysevent.fs.zfs.history_event" pool = "embiggen" pool_guid = 0xb2c159b5522179d6 pool_state = 0x0 pool_context = 0x0 history_hostname = "wintermute.skunkwerks.at" history_dsname = "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8/%rollback" history_internal_str = "parent=c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8" history_internal_name = "clone swap" history_dsid = 0x3bb history_txg = 0x101982b history_time = 0x61308e84 time = 0x61308e84 0x2c968c00 eid = 0x13 Sep 2 2021 08:42:44.751063792 sysevent.fs.zfs.history_event version = 0x0 class = "sysevent.fs.zfs.history_event" pool = "embiggen" pool_guid = 0xb2c159b5522179d6 pool_state = 0x0 pool_context = 0x0 history_hostname = "wintermute.skunkwerks.at" history_dsname = "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8/%rollback" history_internal_str = "(bptree, mintxg=16881697)" history_internal_name = "destroy" history_dsid = 0x3bb history_txg = 0x101982b history_time = 0x61308e84 time = 0x61308e84 0x2cc452f0 eid = 0x14 Sep 2 2021 08:42:44.968063430 sysevent.fs.zfs.history_event version = 0x0 class = "sysevent.fs.zfs.history_event" pool = "embiggen" pool_guid = 0xb2c159b5522179d6 pool_state = 0x0 pool_context = 0x0 history_hostname = "wintermute.skunkwerks.at" history_dsname = "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8/%rollback" history_internal_str = "parent=c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8" history_internal_name = "clone swap" history_dsid = 0x71 history_txg = 0x1019830 history_time = 0x61308e84 time = 0x61308e84 0x39b379c6 eid = 0x15 Sep 2 2021 08:42:44.970063949 sysevent.fs.zfs.history_event version = 0x0 class = "sysevent.fs.zfs.history_event" pool = "embiggen" pool_guid = 0xb2c159b5522179d6 pool_state = 0x0 pool_context = 0x0 history_hostname = "wintermute.skunkwerks.at" history_dsname = "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8/%rollback" history_internal_str = "(bptree, mintxg=16881697)" history_internal_name = "destroy" history_dsid = 0x71 history_txg = 0x1019830 history_time = 0x61308e84 time = 0x61308e84 0x39d2004d eid = 0x16 ``` and then nothing for 30 minutes. -- You are receiving this mail because: You are the assignee for the bug.