freebsd-dev/sys/cam/scsi
Robert Wing bb8441184b 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
MFC after:      3 weeks
Differential Revision: https://reviews.freebsd.org/D27735
2022-01-03 16:56:48 -09:00
..
scsi_all.c CAM: List few missed opcodes. 2021-12-31 11:48:03 -05:00
scsi_all.h libcam: Define depop structures and introduce scsi_wrap 2021-09-20 16:27:59 -06:00
scsi_cd.c cam: Remove all the write-only variables 2021-11-23 21:21:18 -07:00
scsi_cd.h cam: clean up empty lines in .c and .h files 2020-09-01 22:13:48 +00:00
scsi_ch.c cam: Remove all the write-only variables 2021-11-23 21:21:18 -07:00
scsi_ch.h
scsi_da.c cam: don't lock while handling an AC_UNIT_ATTENTION 2022-01-03 16:56:48 -09:00
scsi_da.h cam: clean up empty lines in .c and .h files 2020-09-01 22:13:48 +00:00
scsi_enc_internal.h cam: drop unused 'saved_ccb' field from softcs 2021-07-06 10:04:38 +01:00
scsi_enc_safte.c cam: clean up empty lines in .c and .h files 2020-09-01 22:13:48 +00:00
scsi_enc_ses.c cam: Remove all the write-only variables 2021-11-23 21:21:18 -07:00
scsi_enc.c cam: Remove all the write-only variables 2021-11-23 21:21:18 -07:00
scsi_enc.h ses: Guard the elm_type_names declaration by _KERNEL 2021-09-02 14:47:18 -06:00
scsi_iu.h
scsi_message.h cam: clean up empty lines in .c and .h files 2020-09-01 22:13:48 +00:00
scsi_pass.c cam: Remove all the write-only variables 2021-11-23 21:21:18 -07:00
scsi_pass.h
scsi_pt.c Fix "set but not used" warnings in CAM. 2021-11-25 03:17:54 +00:00
scsi_pt.h
scsi_sa.c cam: drop unused 'saved_ccb' field from softcs 2021-07-06 10:04:38 +01:00
scsi_sa.h cam: clean up empty lines in .c and .h files 2020-09-01 22:13:48 +00:00
scsi_ses.h cam: clean up empty lines in .c and .h files 2020-09-01 22:13:48 +00:00
scsi_sg.c Fix "set but not used" warnings in CAM. 2021-11-25 03:17:54 +00:00
scsi_sg.h
scsi_targ_bh.c cam: clear stack-allocated CCB in the target layer 2021-07-21 10:18:28 +01:00
scsi_target.c Fix "set but not used" warnings in CAM. 2021-11-25 03:17:54 +00:00
scsi_targetio.h
scsi_xpt.c cam: Remove trailing spaces from serial numbers too 2021-11-05 08:56:41 -06:00
smp_all.c cam: clean up empty lines in .c and .h files 2020-09-01 22:13:48 +00:00
smp_all.h