freebsd-nq/sys/cam/scsi
Warner Losh d38677d23c Create a sysctl kern.cam.{,a,n}da.X.invalidate
kern.cam.{,a,n}da.X.invalidate=1 forces *daX to detach by calling
cam_periph_invalidate on the underlying periph. This is for testing
purposes only. Include only with options CAM_TEST_FAILURE and rename
the former [AN]DA_TEST_FAILURE, and fix nda to compile with it set.
We're using it at work to harden geom and the buffer cache to be
resilient in the face of drive failure. Today, it far too often
results in a panic. While much work was done on SIM initiated removal
for the USB thumnb drive removal work, little has been done for periph
initiated removal. This simulates what *daerror() does for some errors
nicely: we get the same panics with it that we do with failing drives.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D14581
2018-03-14 17:53:37 +00:00
..
scsi_all.c SPDX: finish tagging sys/cam. 2018-01-16 23:19:57 +00:00
scsi_all.h Add the SCSI Solid State Media Log page (0x11) definition. 2017-05-04 17:23:39 +00:00
scsi_cd.c Use proper buffer length (the announce_buf char pointer used to be anarray), 2018-02-21 14:05:13 +00:00
scsi_cd.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_ch.c Unsign some values related to allocation. 2018-01-22 02:08:10 +00:00
scsi_ch.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_da.c Create a sysctl kern.cam.{,a,n}da.X.invalidate 2018-03-14 17:53:37 +00:00
scsi_da.h Improve support for informational exceptions. 2016-12-19 10:25:47 +00:00
scsi_dvcfg.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_enc_internal.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_enc_safte.c sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_enc_ses.c sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_enc.c Reject ioctls to SCSI enclosures from 32-bit compat processes. 2018-03-12 23:02:01 +00:00
scsi_enc.h SPDX: finish tagging sys/cam. 2018-01-16 23:19:57 +00:00
scsi_iu.h
scsi_low.c Remove ccbque.h from i386/isa. 2018-01-09 16:11:33 +00:00
scsi_low.h Remove ccbque.h from i386/isa. 2018-01-09 16:11:33 +00:00
scsi_message.h
scsi_pass.c Reject CAMIOGET and CAMIOQUEUE ioctl's on pass(4) in 32-bit compat mode. 2018-03-12 22:58:07 +00:00
scsi_pass.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_pt.c Return a C errno for cam_periph_acquire(). 2018-02-06 06:42:25 +00:00
scsi_pt.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_sa.c Return a C errno for cam_periph_acquire(). 2018-02-06 06:42:25 +00:00
scsi_sa.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_ses.h SPDX: finish tagging sys/cam. 2018-01-16 23:19:57 +00:00
scsi_sg.c Return a C errno for cam_periph_acquire(). 2018-02-06 06:42:25 +00:00
scsi_sg.h
scsi_targ_bh.c sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_target.c Define xpt_path_inq. 2017-12-06 23:05:22 +00:00
scsi_targetio.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_xpt.c Return a C errno for cam_periph_acquire(). 2018-02-06 06:42:25 +00:00
smp_all.c sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
smp_all.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00