K 10 svn:author V 7 git2svn K 8 svn:date V 27 2022-03-08T07:13:27.292692Z K 7 svn:log V 591 cam: don't lock while handling an AC_UNIT_ATTENTION Don't take the device_mtx lock in daasync() when handling an AC_UNIT_ATTENTION. Instead, assert the lock is held before modifying the periph's softc flags. The device_mtx lock is taken in xptdevicetraverse() before daasync() is eventually called in xpt_async_bcast(). PR: 240917, 226510, 226578 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D27735 (cherry picked from commit bb8441184bab60cd8a07c2b94bd6c4ae8b56ec25) Git Hash: 1987ff8abca2c9bdff7f385ea2fd1c60cf5b3aeb Git Author: rew@FreeBSD.org END