Date: Mon, 22 Feb 2021 17:28:12 +0000 From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 252396] [zfs] [panic] Panic on 'bectl list' after slog removal Message-ID: <bug-252396-3630-POljUzPAAO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-252396-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-252396-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=3D252396 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D64649f0285424435634c2dfd39f49536f= c2b50dd commit 64649f0285424435634c2dfd39f49536fc2b50dd Author: Martin Matuska <mm@FreeBSD.org> AuthorDate: 2021-02-22 17:05:07 +0000 Commit: Martin Matuska <mm@FreeBSD.org> CommitDate: 2021-02-22 17:26:12 +0000 zfs: fix panic if scrubbing after removing a slog device From openzfs-master 11f2e9a4 commit message: vdev_ops: don't try to call vdev_op_hold or vdev_op_rele when NULL This prevents a panic after a SLOG add/removal on the root pool follo= wed by a zpool scrub. When a SLOG is removed, a hole takes its place - the vdev_ops for a h= ole is vdev_hole_ops, which defines the handler functions of vdev_op_hold and vdev_op_rele as NULL. Patch Author: Patrick Mooney <pmooney@pfmooney.com> Obtained from: openzfs/zfs@11f2e9a491baa2ae3fc00f6b8b892fa91a852ca1 PR: 252396 MFS after: 3 days (direct commit) sys/contrib/openzfs/module/zfs/vdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --=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-252396-3630-POljUzPAAO>