Add an assert that v_holdcnt >= v_usecount?

Benjamin Kaduk bjk at freebsd.org
Sun May 18 20:52:07 UTC 2014


On Sat, 17 May 2014, Konstantin Belousov wrote:

> As a note, I never seen such corruption of the otherwise valid vnode state
> ever.  There were a lot of leaks, but never mismatched vget/vdrop.

My current hypothesis for what I was actually seeing is that the libafs.ko 
was built against GENERIC but the running kernel was using 
DEBUG_VFS_LOCKS, etc..

-Ben


More information about the freebsd-fs mailing list