freebsd-dev/sys/cam/scsi
Conrad Meyer f053ca1f08 Walk back r337554 while discussion continues
The idea was to get the uncontroversial mechanical change out of the way,
then get the meatier functional changes reviewed subsequently.  I had not
realized that the immediately adjacent issue was addressed in a different
direction in r334506 (see Warner's guidance in D15592).

Discussion continues, trying to determine if there is a secondary issue
still[1] and how best to fix it.  With 12-related activities coming up,
while that is ongoing, just take this back for now.

[1]: Shutdown-time eventhandler events fire normally during panic's reboot
path.  Driver callbacks that attempt to issue and wait on interrupt-
completed IO may never complete, hanging the system.  This is particularly
obnoxious in the shutdown/panic path, as the debugger cannot be entered
anymore and the hang prevents reboot restoring availability.

(There's nothing CAM-specific about this problem -- any shutdown
event-triggered driver could do something like this during panic.  But most
NICs, etc.  don't try to send spin-down commands at shutdown. ;-))

Discussed with:	imp, markj
2018-08-10 19:19:07 +00:00
..
scsi_all.c SPDX: finish tagging sys/cam. 2018-01-16 23:19:57 +00:00
scsi_all.h Use <stdarg.h> instead of <machine/stdarg.h> in userland. 2018-03-20 21:00:45 +00:00
scsi_cd.c cam_periph_runccb() changed several years ago to overwrite the ccb callback 2018-05-01 20:09:29 +00:00
scsi_cd.h
scsi_ch.c cam_periph_acquire() now returns an errno. 2018-03-19 20:19:00 +00:00
scsi_ch.h
scsi_da.c Walk back r337554 while discussion continues 2018-08-10 19:19:07 +00:00
scsi_da.h
scsi_dvcfg.h
scsi_enc_internal.h
scsi_enc_safte.c
scsi_enc_ses.c
scsi_enc.c Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
scsi_enc.h SPDX: finish tagging sys/cam. 2018-01-16 23:19:57 +00:00
scsi_iu.h
scsi_low.c
scsi_low.h
scsi_message.h
scsi_pass.c cam_periph_runccb() changed several years ago to overwrite the ccb callback 2018-05-01 20:09:29 +00:00
scsi_pass.h
scsi_pt.c Return a C errno for cam_periph_acquire(). 2018-02-06 06:42:25 +00:00
scsi_pt.h
scsi_sa.c cam_periph_runccb() changed several years ago to overwrite the ccb callback 2018-05-01 20:09:29 +00:00
scsi_sa.h
scsi_ses.h SPDX: finish tagging sys/cam. 2018-01-16 23:19:57 +00:00
scsi_sg.c cam_periph_runccb() changed several years ago to overwrite the ccb callback 2018-05-01 20:09:29 +00:00
scsi_sg.h
scsi_targ_bh.c
scsi_target.c
scsi_targetio.h
scsi_xpt.c remove unneeded inclusion of sys/interrupt.h from several files 2018-07-04 09:07:18 +00:00
smp_all.c
smp_all.h