Page MenuHomeFreeBSD

Improve debuggability of VOP_* locking assertions
ClosedPublic

Authored by jah on Jan 16 2023, 9:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 27, 8:27 AM
Unknown Object (File)
Wed, Mar 25, 6:43 AM
Unknown Object (File)
Wed, Mar 25, 3:42 AM
Unknown Object (File)
Sat, Mar 21, 12:37 AM
Unknown Object (File)
Sat, Mar 21, 12:37 AM
Unknown Object (File)
Tue, Mar 17, 4:35 PM
Unknown Object (File)
Mon, Mar 16, 3:30 PM
Unknown Object (File)
Fri, Mar 13, 12:10 AM
Subscribers

Details

Summary

Include the phase and argument field to make it easier to determine
at a glance where the failure originated.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jah requested review of this revision.Jan 16 2023, 9:41 PM

Could you please show an example of the new output?

In D38091#865308, @kib wrote:

Could you please show an example of the new output?

This is what I saw a few hours ago when I used it to help me debug a unionfs issue:

VOP_MKDIR Error (dvp): vnode <...> is not exclusive locked but should be

This revision is now accepted and ready to land.Jan 17 2023, 12:27 AM