Date: Wed, 08 Oct 2014 21:27:59 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 194256] New: [cam] xptpdrvtraverse spins and deadlocks CAM Message-ID: <bug-194256-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194256 Bug ID: 194256 Summary: [cam] xptpdrvtraverse spins and deadlocks CAM Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: Needs Triage Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: smferris@gmail.com Created attachment 148117 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148117&action=edit cam_xpt.diff Change periph to next_periph inside of a couple of loops, so that the loops skip over periphs that have CAM_PERIPH_FREE set, rather than spin forever and deadlock CAM by never releasing a mutex. Looks like a copy&paste bug from some other loops that iterated over periph rather than next_periph. Sponsored-by: EMC/Isilon Storage Division -- 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-194256-8>