When operating on a file descriptor, acquire_lock() would ignore the
flags argument and always operate in non-blocking mode, resulting in
unnecessary busy-looping.
PR: 294832
MFC after: 1 week
Differential D56722
lockf: Avoid spinning when operating on an fd Authored by des on Wed, Apr 29, 10:50 PM. Tags None Referenced Files
Details
When operating on a file descriptor, acquire_lock() would ignore the PR: 294832
Diff Detail
Event Timeline
| ||||||||||||||||||||||||||||||||||||||