vgone() calling VOP_CLOSE() -> blocked threads?
Poul-Henning Kamp
phk at phk.freebsd.dk
Sat Mar 15 19:48:07 UTC 2008
>To be honest, I'm not completely sure how to solve this issue, though I
>know it should at least do something similar to this:
>
>- The device driver should have a seperate routine (d_revoke) to wake
> up any blocked threads, to make sure they leave the device driver
> properly.
It's already there, it's called d_purge().
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-arch
mailing list