Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Sep 2021 10:15:13 +0000
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
Message-ID:  <bug-258208-227-IgsPpvVKSy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258208-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258208-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258208

--- 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/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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258208-227-IgsPpvVKSy>