HomeFreeBSD

MFC: r228217
rS229759Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

MFC: r228217
Post r223774, the NFSv4 client no longer has multiple instances
of the same lock_owner4 string. As such, the handling of cleanup
of lock_owners could be simplified. This simplification permitted
the client to do a ReleaseLockOwner operation when the process that
the lock_owner4 string represents, has exited. This permits the
server to release any storage related to the lock_owner4 string
before the associated open is closed. Without this change, it
is possible to exhaust a server's storage when a long running
process opens a file and then many child processes do locking
on the file, because the open doesn't get closed. A similar patch
was applied to the Linux NFSv4 client recently so that it wouldn't
exhaust a server's storage.

Details

Provenance
rmacklemAuthored on
Parents
rS229758: MFC r228355:
Branches
Unknown
Tags
Unknown

Event Timeline