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)
Sun, May 10, 7:20 AM
Unknown Object (File)
Tue, Apr 28, 11:24 PM
Unknown Object (File)
Tue, Apr 28, 3:51 PM
Unknown Object (File)
Tue, Apr 28, 11:44 AM
Unknown Object (File)
Mon, Apr 27, 11:06 AM
Unknown Object (File)
Sun, Apr 26, 12:53 AM
Unknown Object (File)
Fri, Apr 24, 12:36 PM
Unknown Object (File)
Thu, Apr 23, 2:12 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