HomeFreeBSD

lockf: add a -p mode to write the child's pid

Description

lockf: add a -p mode to write the child's pid

If we're going to hold the lock, it can be useful to scribble down the
pid that we spawned off to quickly associate the lock back to the
process that's keeping it open.

Reviewed by: allanjude (previous version), des
Differential Revision: https://reviews.freebsd.org/D51014

Details

Provenance
kevansAuthored on Jun 24 2025, 3:41 PM
Reviewer
allanjude
Differential Revision
D51014: lockf: add a -p mode to write the child's pid
Parents
rGd78d04b17cb2: cam: Fail the disk if READ CAPACITY returns 4/2 asc/ascq
Branches
Unknown
Tags
Unknown