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)
Tue, Dec 30, 1:37 AM
Unknown Object (File)
Nov 27 2025, 2:45 AM
Unknown Object (File)
Nov 18 2025, 12:10 PM
Unknown Object (File)
Nov 10 2025, 10:28 AM
Unknown Object (File)
Nov 7 2025, 10:08 PM
Unknown Object (File)
Nov 5 2025, 1:58 PM
Unknown Object (File)
Nov 4 2025, 1:57 PM
Unknown Object (File)
Nov 4 2025, 1:54 PM
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