Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2008 19:48:04 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Ed Schouten <ed@80386.nl>
Cc:        FreeBSD Arch <arch@freebsd.org>
Subject:   Re: vgone() calling VOP_CLOSE() -> blocked threads? 
Message-ID:  <6718.1205610484@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 15 Mar 2008 13:40:08 %2B0100." <20080315124008.GF80576@hoeg.nl> 

next in thread | previous in thread | raw e-mail | index | archive | help

>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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6718.1205610484>