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)
Mon, Oct 13, 12:29 PM
Unknown Object (File)
Sun, Oct 12, 2:57 AM
Unknown Object (File)
Sun, Oct 12, 2:57 AM
Unknown Object (File)
Sun, Oct 12, 2:57 AM
Unknown Object (File)
Sun, Oct 12, 2:57 AM
Unknown Object (File)
Sat, Oct 11, 5:09 PM
Unknown Object (File)
Wed, Oct 8, 2:53 AM
Unknown Object (File)
Sat, Oct 4, 8:44 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