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)
Sat, Sep 12, 12:14 AM
Unknown Object (File)
Tue, Sep 8, 2:54 PM
Unknown Object (File)
Sat, Sep 5, 11:20 PM
Unknown Object (File)
Sat, Sep 5, 5:55 PM
Unknown Object (File)
Sat, Sep 5, 2:25 AM
Unknown Object (File)
Thu, Sep 3, 3:05 PM
Unknown Object (File)
Wed, Sep 2, 5:33 PM
Unknown Object (File)
Wed, Sep 2, 5:02 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