[Bug 263703] Move deferred callback at end of camperiphfree to xpt_async_td

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 01 May 2022 17:03:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263703

            Bug ID: 263703
           Summary: Move deferred callback at end of camperiphfree to
                    xpt_async_td
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: imp@FreeBSD.org

The current callback at the end of campriphfree needs to be moved to
xpt_async_td. It's an async call already, and needn't run right here right now.
It can run from a context where memory allocation isn't allowed to sleep, hence
the need for the deferral.

-- 
You are receiving this mail because:
You are the assignee for the bug.