Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2015 01:28:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 201185] [patch] geli: don't panic on spoil events
Message-ID:  <bug-201185-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 201185
           Summary: [patch] geli: don't panic on spoil events
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: fullermd@over-yonder.net
          Keywords: patch

Created attachment 158142
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158142&action=edit
Patch

g_eli assumes that GEOM spoil events can't happen, and so calls panic() if they
do.  But the assumption is incorrect; x-ref post at
https://lists.freebsd.org/pipermail/freebsd-current/2015-June/056193.html (and
later continuation on -geom, e.g.
https://lists.freebsd.org/pipermail/freebsd-geom/2015-June/006142.html ).

So the event should really be treated like an orphan, which just detaches the
device.

-- 
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-201185-8>