Page MenuHomeFreeBSD

Remove the DEBUG_VFS_LOCKS kernel option
ClosedPublic

Authored by markj on Jan 12 2026, 12:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 14, 4:09 PM
Unknown Object (File)
Tue, Aug 11, 11:24 PM
Unknown Object (File)
Sun, Aug 9, 3:23 AM
Unknown Object (File)
Sat, Aug 8, 5:03 PM
Unknown Object (File)
Sat, Aug 8, 4:50 PM
Unknown Object (File)
Sat, Aug 8, 2:36 PM
Unknown Object (File)
Sat, Aug 8, 4:42 AM
Unknown Object (File)
Fri, Aug 7, 2:52 PM
Subscribers

Details

Summary

After commit 3bd8fab2415b ("vfs: Move DEBUG_VFS_LOCKS checks to
INVARIANTS"), this option has no effect. Let's finish the removal.

There are a couple of additional uses in zfs, I will submit a separate
patch upstream for them.

Diff Detail

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