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)
Mon, May 18, 6:28 PM
Unknown Object (File)
Mon, May 18, 6:28 PM
Unknown Object (File)
Sun, May 17, 1:53 AM
Unknown Object (File)
Sun, May 17, 1:53 AM
Unknown Object (File)
Sun, May 17, 1:43 AM
Unknown Object (File)
Apr 23 2026, 8:58 AM
Unknown Object (File)
Apr 23 2026, 4:10 AM
Unknown Object (File)
Apr 22 2026, 6:57 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