[Bug 194256] New: [cam] xptpdrvtraverse spins and deadlocks CAM

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 8 21:28:00 UTC 2014


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


More information about the freebsd-bugs mailing list