Date: Thu, 15 Mar 2018 08:49:45 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 225877] panic: solaris assert: newds == os->os_dsl_dataset during "zpool upgrade" Message-ID: <bug-225877-3630-JmlSdZK74A@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-225877-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-225877-3630@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=3D225877 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: avg Date: Thu Mar 15 08:49:22 UTC 2018 New revision: 330974 URL: https://svnweb.freebsd.org/changeset/base/330974 Log: MFV r330973: 9164 assert: newds =3D=3D os->os_dsl_dataset illumos/illumos-gate@5f5913bb83405db87f982abee80162a479d363af =20 https://github.com/illumos/illumos-gate/commit/5f5913bb83405db87f982abee801= 62a479d363af https://www.illumos.org/issues/9164 This issue has been reported by Alan Somers as https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225877 dmu_objset_refresh_ownership() first disowns a dataset (and releases it) and then owns it again. There is an assert that the new dataset object is the same as the old dataset object. When running ZFS Test Suite on FreeBSD we see this panic from zpool_upgrade_007_pos test: panic: solaris assert: newds =3D=3D os->os_dsl_dataset (0xfffff80045f4c= 000 =3D=3D 0xfffff80021ab4800) I see that the old dataset has dsl_dataset_evict_async() pending in ds_dbu.dbu_tqent and its ds_dbuf is NULL. Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Don Brady <don.brady@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net> Author: Andriy Gapon <avg@FreeBSD.org> PR: 225877 Reported by: asomers MFC after: 1 week Changes: _U head/sys/cddl/contrib/opensolaris/ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu_objset.h head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c --=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-225877-3630-JmlSdZK74A>