From nobody Thu Sep 2 10:15:13 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B387617B2862 for ; Thu, 2 Sep 2021 10:15:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H0cHj4btfz3FyK for ; Thu, 2 Sep 2021 10:15:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 86245173E6 for ; Thu, 2 Sep 2021 10:15:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 182AFDPH049007 for ; Thu, 2 Sep 2021 10:15:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 182AFDlL049006 for bugs@FreeBSD.org; Thu, 2 Sep 2021 10:15:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [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 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dch@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258208 --- Comment #1 from Dave Cottlehuber --- ## zfs-kmod-v2021073000-zfs_7eebcd2be sudo zfs destroy -vrRf 'embiggen/koans' will destroy embiggen/koans/cache/koan-ci/6253a9f1f8df5d292b0c675fafde7351c89d4e76587b8d= e7d7b76e699acdccf6 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=20 ^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=20 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=20 ## 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=20 ``` ## 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 =3D 0x0 class =3D "sysevent.fs.zfs.config_sync" pool =3D "embiggen" pool_guid =3D 0xb2c159b5522179d6 pool_state =3D 0x0 pool_context =3D 0x0 time =3D 0x61308dcf 0x266987b6=20 eid =3D 0x9 Sep 2 2021 08:42:38.680064715 sysevent.fs.zfs.history_event version =3D 0x0 class =3D "sysevent.fs.zfs.history_event" pool =3D "embiggen" pool_guid =3D 0xb2c159b5522179d6 pool_state =3D 0x0 pool_context =3D 0x0 history_hostname =3D "wintermute.skunkwerks.at" history_dsname =3D "embiggen/koans/clones/h2o/0e6074eb51ffe7c5d478cb154327221d0355248e/%rollba= ck" history_internal_str =3D "parent=3D0e6074eb51ffe7c5d478cb154327221d0355248e" history_internal_name =3D "clone swap" history_dsid =3D 0x1ea history_txg =3D 0x1019819 history_time =3D 0x61308e7e time =3D 0x61308e7e 0x2888f6cb=20 eid =3D 0xa Sep 2 2021 08:42:38.698068059 sysevent.fs.zfs.history_event version =3D 0x0 class =3D "sysevent.fs.zfs.history_event" pool =3D "embiggen" pool_guid =3D 0xb2c159b5522179d6 pool_state =3D 0x0 pool_context =3D 0x0 history_hostname =3D "wintermute.skunkwerks.at" history_dsname =3D "embiggen/koans/clones/h2o/0e6074eb51ffe7c5d478cb154327221d0355248e/%rollba= ck" history_internal_str =3D "(bptree, mintxg=3D16881555)" history_internal_name =3D "destroy" history_dsid =3D 0x1ea history_txg =3D 0x1019819 history_time =3D 0x61308e7e time =3D 0x61308e7e 0x299bac5b=20 eid =3D 0xb Sep 2 2021 08:42:39.009063859 sysevent.fs.zfs.history_event version =3D 0x0 class =3D "sysevent.fs.zfs.history_event" pool =3D "embiggen" pool_guid =3D 0xb2c159b5522179d6 pool_state =3D 0x0 pool_context =3D 0x0 history_hostname =3D "wintermute.skunkwerks.at" history_dsname =3D "embiggen/koans/clones/h2o/0e6074eb51ffe7c5d478cb154327221d0355248e/%rollba= ck" history_internal_str =3D "parent=3D0e6074eb51ffe7c5d478cb154327221d0355248e" history_internal_name =3D "clone swap" history_dsid =3D 0x1f8 history_txg =3D 0x101981e history_time =3D 0x61308e7f time =3D 0x61308e7f 0x8a4db3=20 eid =3D 0xc Sep 2 2021 08:42:39.011064352 sysevent.fs.zfs.history_event version =3D 0x0 class =3D "sysevent.fs.zfs.history_event" pool =3D "embiggen" pool_guid =3D 0xb2c159b5522179d6 pool_state =3D 0x0 pool_context =3D 0x0 history_hostname =3D "wintermute.skunkwerks.at" history_dsname =3D "embiggen/koans/clones/h2o/0e6074eb51ffe7c5d478cb154327221d0355248e/%rollba= ck" history_internal_str =3D "(bptree, mintxg=3D16881555)" history_internal_name =3D "destroy" history_dsid =3D 0x1f8 history_txg =3D 0x101981e history_time =3D 0x61308e7f time =3D 0x61308e7f 0xa8d420=20 eid =3D 0xd Sep 2 2021 08:42:41.355063329 sysevent.fs.zfs.history_event version =3D 0x0 class =3D "sysevent.fs.zfs.history_event" pool =3D "embiggen" pool_guid =3D 0xb2c159b5522179d6 pool_state =3D 0x0 pool_context =3D 0x0 history_hostname =3D "wintermute.skunkwerks.at" history_dsname =3D "embiggen/koans/cache/h2o/338ff637ff357ba38882e44d01251c511523ab67f2be5827b= 25d9de423544eb3@c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8" history_internal_str =3D " " history_internal_name =3D "snapshot" history_dsid =3D 0x3b4 history_txg =3D 0x101981f history_time =3D 0x61308e81 time =3D 0x61308e81 0x1529d621=20 eid =3D 0xe Sep 2 2021 08:42:41.496063945 sysevent.fs.zfs.history_event version =3D 0x0 class =3D "sysevent.fs.zfs.history_event" pool =3D "embiggen" pool_guid =3D 0xb2c159b5522179d6 pool_state =3D 0x0 pool_context =3D 0x0 history_hostname =3D "wintermute.skunkwerks.at" history_dsname =3D "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8" history_internal_str =3D "origin=3Dembiggen/koans/templates/12.2-RELEASE@pristine (35650)" history_internal_name =3D "clone" history_dsid =3D 0x1ea history_txg =3D 0x1019820 history_time =3D 0x61308e81 time =3D 0x61308e81 0x1d9155c9=20 eid =3D 0xf Sep 2 2021 08:42:41.648063789 sysevent.fs.zfs.history_event version =3D 0x0 class =3D "sysevent.fs.zfs.history_event" pool =3D "embiggen" pool_guid =3D 0xb2c159b5522179d6 pool_state =3D 0x0 pool_context =3D 0x0 history_hostname =3D "wintermute.skunkwerks.at" history_dsname =3D "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8@pristin= e" history_internal_str =3D " " history_internal_name =3D "snapshot" history_dsid =3D 0x328 history_txg =3D 0x1019821 history_time =3D 0x61308e81 time =3D 0x61308e81 0x26a0ab2d=20 eid =3D 0x10 Sep 2 2021 08:42:41.923063860 sysevent.fs.zfs.history_event version =3D 0x0 class =3D "sysevent.fs.zfs.history_event" pool =3D "embiggen" pool_guid =3D 0xb2c159b5522179d6 pool_state =3D 0x0 pool_context =3D 0x0 history_hostname =3D "wintermute.skunkwerks.at" history_dsname =3D "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8/%rollba= ck" history_internal_str =3D "parent=3Dc7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8" history_internal_name =3D "clone swap" history_dsid =3D 0x27d history_txg =3D 0x1019826 history_time =3D 0x61308e81 time =3D 0x61308e81 0x3704d634=20 eid =3D 0x11 Sep 2 2021 08:42:41.926063583 sysevent.fs.zfs.history_event version =3D 0x0 class =3D "sysevent.fs.zfs.history_event" pool =3D "embiggen" pool_guid =3D 0xb2c159b5522179d6 pool_state =3D 0x0 pool_context =3D 0x0 history_hostname =3D "wintermute.skunkwerks.at" history_dsname =3D "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8/%rollba= ck" history_internal_str =3D "(bptree, mintxg=3D16881697)" history_internal_name =3D "destroy" history_dsid =3D 0x27d history_txg =3D 0x1019826 history_time =3D 0x61308e81 time =3D 0x61308e81 0x37329bdf=20 eid =3D 0x12 Sep 2 2021 08:42:44.748063744 sysevent.fs.zfs.history_event version =3D 0x0 class =3D "sysevent.fs.zfs.history_event" pool =3D "embiggen" pool_guid =3D 0xb2c159b5522179d6 pool_state =3D 0x0 pool_context =3D 0x0 history_hostname =3D "wintermute.skunkwerks.at" history_dsname =3D "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8/%rollba= ck" history_internal_str =3D "parent=3Dc7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8" history_internal_name =3D "clone swap" history_dsid =3D 0x3bb history_txg =3D 0x101982b history_time =3D 0x61308e84 time =3D 0x61308e84 0x2c968c00=20 eid =3D 0x13 Sep 2 2021 08:42:44.751063792 sysevent.fs.zfs.history_event version =3D 0x0 class =3D "sysevent.fs.zfs.history_event" pool =3D "embiggen" pool_guid =3D 0xb2c159b5522179d6 pool_state =3D 0x0 pool_context =3D 0x0 history_hostname =3D "wintermute.skunkwerks.at" history_dsname =3D "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8/%rollba= ck" history_internal_str =3D "(bptree, mintxg=3D16881697)" history_internal_name =3D "destroy" history_dsid =3D 0x3bb history_txg =3D 0x101982b history_time =3D 0x61308e84 time =3D 0x61308e84 0x2cc452f0=20 eid =3D 0x14 Sep 2 2021 08:42:44.968063430 sysevent.fs.zfs.history_event version =3D 0x0 class =3D "sysevent.fs.zfs.history_event" pool =3D "embiggen" pool_guid =3D 0xb2c159b5522179d6 pool_state =3D 0x0 pool_context =3D 0x0 history_hostname =3D "wintermute.skunkwerks.at" history_dsname =3D "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8/%rollba= ck" history_internal_str =3D "parent=3Dc7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8" history_internal_name =3D "clone swap" history_dsid =3D 0x71 history_txg =3D 0x1019830 history_time =3D 0x61308e84 time =3D 0x61308e84 0x39b379c6=20 eid =3D 0x15 Sep 2 2021 08:42:44.970063949 sysevent.fs.zfs.history_event version =3D 0x0 class =3D "sysevent.fs.zfs.history_event" pool =3D "embiggen" pool_guid =3D 0xb2c159b5522179d6 pool_state =3D 0x0 pool_context =3D 0x0 history_hostname =3D "wintermute.skunkwerks.at" history_dsname =3D "embiggen/koans/clones/h2o/c7ee4afccbd2d1c3dfb3310d5afbbd7b4df26bf8/%rollba= ck" history_internal_str =3D "(bptree, mintxg=3D16881697)" history_internal_name =3D "destroy" history_dsid =3D 0x71 history_txg =3D 0x1019830 history_time =3D 0x61308e84 time =3D 0x61308e84 0x39d2004d=20 eid =3D 0x16 ``` and then nothing for 30 minutes. --=20 You are receiving this mail because: You are the assignee for the bug.=