From nobody Sun Jan 02 21:18:31 2022 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 27A681923244 for ; Sun, 2 Jan 2022 21:18:32 +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 4JRsDl6j5Vz3NYD for ; Sun, 2 Jan 2022 21:18:31 +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 C6EC9192A9 for ; Sun, 2 Jan 2022 21:18:31 +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 202LIVO4044963 for ; Sun, 2 Jan 2022 21:18:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 202LIV0m044962 for bugs@FreeBSD.org; Sun, 2 Jan 2022 21:18:31 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 260884] [zfs] Panic in zfs_onexit_destroy [fix available] Date: Sun, 02 Jan 2022 21:18:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grembo@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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641158312; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WSYsKapS0xdCHnKseAQ6IScfFypztC8qAjI0S80OPcw=; b=u3D7uFGwy+fPYOQdNpxbQohmdD/TCj78PnH3FSCwgah224Bn8AAANnVyyT3pQcPetgR+xR KZT8F1AFEBEkBTIRPGq9WO+rSFrj1VexTZZJ8bvQpQIcH0i/M7UL80gdX4SN5oeMzsp/f6 E3CjE/GosckMZiKSYzEJzr/ia5W7EqCmIjVdbky1QzDqLqSdTDG2uS2WNiX1DUlKkB7nk6 qoC26YlaJbtGf2CZy0fVWJoW7w8OaEfbHzYsT6KeYetHTS+7smKoUdAPUHUQKAZPDRl4CC u1RG/QsXCQMyNShTBj6FjcqSIgDcfsHzpZ1cFFnJrnOAsG5z/XbyqP/dK6WO7Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641158312; a=rsa-sha256; cv=none; b=K7vufI+wYBVhQ/qpdAoITgkLhIIutpZjz3u5q1PIavhXKj2EZjKs5ELmJGPvF+eZYziVnw 3ogWxAMwF5Cj6JE8hh4ytuGYTaXGIHJ2AUqKqpjx6PctpRGWQ0S3p6hCPwoePO8sMg2vIV 6b16SJd+UN3JAx8X2nqO4yXXK8H2ZgIec6TsslA30QExQJ+qMIBTUw8wrNXFgjzO3hhLex EWsIO2c0dabv8FbH9WsSAxZWahF9bewCMZTDB8f2QIJGb1YBi/dhU0PbIh187TYVh2EDBQ LV/jq1IFDR++b2mcQdlmYxT7+HcaGp+IzkF0VZBXO8f/FgcvHbFspmZIixPrnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260884 --- Comment #3 from Michael Gmelin --- (In reply to Ed Maste from comment #2) The fix was imported into stable/13.0 back in March as part of a larger com= mit: zfs: merge OpenZFS master-9305ff2ed https://cgit.freebsd.org/src/commit/?h=3Dstable/13&id=3D9db44a8e This pulls in a lot of changes, but lists them separately, the one in quest= ion is: #11720 FreeBSD: Clean up zfsdev_close to match Linux (which refers to https://github.com/openzfs/zfs/pull/11720), which is the p= atch I tested above (https://patch-diff.githubusercontent.com/raw/openzfs/zfs/pull/11720.diff = =3D=3D https://github.com/openzfs/zfs/commit/f845b2dd.diff). To only get these changes from our source tree, look at: A. https://cgit.freebsd.org/src/commit/sys/contrib/openzfs/module/os/freebsd/z= fs/kmod_core.c?id=3D9db44a8e B. https://cgit.freebsd.org/src/commit/sys/contrib/openzfs/include/sys/zfs_ioc= tl.h?id=3D9db44a8e Pulling everything from 9db44a8e would basically be an OpenZFS update, but = from what I can tell, just pulling in A. and B. from above is enough to correct = the problem at hand and should work ok in isolation (second pair of eyes won't hurt). --=20 You are receiving this mail because: You are the assignee for the bug.=