Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2021 16:21: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-DiQ29eWXjR@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 #7 from commit-hook@FreeBSD.org ---
A commit in branch releng/13.0 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Dee0b7e05e72c8820441faff29a9df99b4=
7aed6a0

commit ee0b7e05e72c8820441faff29a9df99b47aed6a0
Author:     Martin Matuska <mm@FreeBSD.org>
AuthorDate: 2021-02-22 17:05:07 +0000
Commit:     Martin Matuska <mm@FreeBSD.org>
CommitDate: 2021-02-25 16:19:49 +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
    Approved by:    re (gjb)

    (cherry picked from commit 64649f0285424435634c2dfd39f49536fc2b50dd)

 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-DiQ29eWXjR>