site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Thanks in advance! -Marek _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... So I have a need to just force kill a bunch of my vnodes within my file system. In the past I just called vgone() on the vnode, which would force close if open, clean up and recycle the vnode. However in Tiger, vgone() and vclean() are now a hidden functions. So whats the best way now, to force kill a vnode? I've gone though the xnu sources about 20 times now, and it seems the things that eventually call vgone & vclean check for the various counts to be certain values, not good when you want the thing to die reguardless.
From my research it seems some combination of vnode_recycle, vnode_put,
and forcing my vnodes close if my own open count is not 0. But I'm wondering if there's a better way that I'm missing. This email sent to site_archiver@lists.apple.com