Witness panic in pseudofs_vncache

Dag-Erling Smørgrav des at des.no
Sun Aug 15 01:53:44 PDT 2004


Robert Watson <rwatson at freebsd.org> writes:
> This appears to be a bug in pseudofs due to calling vgone() while holding
> the pfs_vncache_mutex, as vgone() can sleep due to acquiring lockmgr
> locks.  The fix is likely to make this looping even less efficient by
> dropping the mutex before calling vgone() on a vnode, and then restarting.
> I've CC'd DES because this is his baby.

What do you think of the attached patch?

DES
-- 
Dag-Erling Smørgrav - des at des.no

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pseudofs_vncache.diff
Type: text/x-patch
Size: 3329 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040815/44c2f0a2/pseudofs_vncache.bin


More information about the freebsd-current mailing list