freebsd-nq/sys/cam/ata
Warner Losh d9a7a61b2b Hold the reference count until the CCB is released
When a disk disappears and the periph is invalidated, any I/Os that
are pending with the controller can cause a crash when they
complete. Move to holding the softc reference count taken in dastart()
until the I/O is complete rather than only until xpt_action()
returns. (This approach was suggested by Ken Merry.) This extends
the method used in da to ada, nda, and mda.

Sponsored by: Netflix
Submitted by: Chuck Silvers
2018-05-15 22:22:10 +00:00
..
ata_all.c sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
ata_all.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
ata_da.c Hold the reference count until the CCB is released 2018-05-15 22:22:10 +00:00
ata_pmp.c Return a C errno for cam_periph_acquire(). 2018-02-06 06:42:25 +00:00
ata_xpt.c Return a C errno for cam_periph_acquire(). 2018-02-06 06:42:25 +00:00