Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Nov 2015 14:28:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-scsi@FreeBSD.org
Subject:   [Bug 204298] xpt_release_device() panic: mutex CAM queue lock not owned
Message-ID:  <bug-204298-5312-EK6cr9n2cs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204298-5312@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204298-5312@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=204298

--- Comment #3 from Alexander Motin <mav@FreeBSD.org> ---
I like your idea of giving timeout a reference. I've even reworked your patch
in IMO cleaner way (see new attachment). Unfortunately after doing that I hit
the problem affecting both mine and your patches: device reference counters are
protected by bus lock, that can not be acquired while holding device queue
lock. I am not ready to say this approach is hopeless, but requires some more
thinking.

-- 
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-204298-5312-EK6cr9n2cs>