[Bug 204298] xpt_release_device() panic: mutex CAM queue lock not owned
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 6 07:59:14 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204298
--- Comment #6 from Scott M. Ferris <smferris at gmail.com> ---
Created attachment 162840
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162840&action=edit
revised patch with a LOR fix and mav's cleanups
I attached a revised patch that tries to fix the LOR and incorporate mav's
cleanups.
The acquire side is handled by taking a device ref for the callout before we
know if we need another ref, and releasing the extra ref if we discover we
don't need it.
The release side is handled using CALLOUT_RETURNUNLOCKED so that the callout
can just unlock devq->send_mtx and then xpt_release_device().
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-scsi
mailing list