[Bug 201185] [patch] geli: don't panic on spoil events

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 29 01:28:03 UTC 2015


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 at FreeBSD.org
          Reporter: fullermd at 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.


More information about the freebsd-bugs mailing list