Home
last modified time | relevance | path

Searched hist:e2c1243f427b7dd387efd42669cc199cbb9b514c (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/fdc/
H A Dfdc.cdiff e2c1243f427b7dd387efd42669cc199cbb9b514c Thu Sep 30 04:18:28 CEST 2021 Warner Losh <imp@FreeBSD.org> fd: Move from using device_busy to a refcount

Use refcounting to delay the detach rather than device_busy and/or
device_unbusy. fd/fdc is one of the few consumers of device_busy in the
tree for that, and it's not a good fit. Also, nothing is waking 'fd' and
other drivers don't loop like this. Return EBUSY if we still have active
users.

Sponsored by: Netflix
Reviewed by: mav
Differential Revision: https://reviews.freebsd.org/D31830