Page MenuHomeFreeBSD

Remove the DEBUG_VFS_LOCKS kernel option
ClosedPublic

Authored by markj on Jan 12 2026, 12:26 AM.
Tags
None
Referenced Files
F158280279: D54662.id169774.diff
Sat, May 30, 5:53 PM
Unknown Object (File)
Mon, May 18, 11:40 PM
Unknown Object (File)
Sun, May 17, 10:52 AM
Unknown Object (File)
Sun, May 17, 1:58 AM
Unknown Object (File)
Thu, May 14, 3:04 PM
Unknown Object (File)
Thu, May 14, 3:04 PM
Unknown Object (File)
Tue, May 5, 3:56 AM
Unknown Object (File)
Apr 30 2026, 10:15 AM
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