Page MenuHomeFreeBSD

nfs client: switch nfs_advlock() to use exclusive vnode lock
ClosedPublic

Authored by kib on Aug 27 2025, 9:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 12 2025, 2:47 AM
Unknown Object (File)
Nov 10 2025, 5:32 AM
Unknown Object (File)
Nov 5 2025, 3:16 AM
Unknown Object (File)
Nov 4 2025, 10:53 PM
Unknown Object (File)
Oct 19 2025, 11:00 AM
Unknown Object (File)
Oct 10 2025, 3:59 PM
Unknown Object (File)
Oct 10 2025, 3:59 PM
Unknown Object (File)
Oct 10 2025, 3:59 PM
Subscribers

Details

Summary
It eliminates the need to upgrade the lock in the function.
More importantly, the calls to nfs_advlock_p()/nlm_advlock() sometimes
flush buffers, which requires exclusive locking.

Reported by:    bz

Diff Detail

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