freebsd-dev/sys/cam/mmc
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
..
mmc_all.h SPDX: finish tagging sys/cam. 2018-01-16 23:19:57 +00:00
mmc_bus.h
mmc_da.c Hold the reference count until the CCB is released 2018-05-15 22:22:10 +00:00
mmc_xpt.c Return a C errno for cam_periph_acquire(). 2018-02-06 06:42:25 +00:00
mmc.h SPDX: finish tagging sys/cam. 2018-01-16 23:19:57 +00:00