diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2022-04-01 23:23:06 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2022-04-09 21:43:53 +0000 |
| commit | eca39864f702e577eba3bc7e9992d1e5e56eba58 (patch) | |
| tree | 817beab66ea9f3c2e2f3bc8eb45752cd90d486fe /bin | |
| parent | 6ead1379fd42d96b57d58d338dae10b2e73fd8d8 (diff) | |
Add sysctl KERN_LOCKF
reporting the shapshot of the active advisory locks.
A new VFS ops method vfs_report_lockf if provided in the mount point
op table. If it is NULL, as it is currently for all existing
filesystems, vfs_report_lockf() function is used, which gathers
information from the standard implementation inside kern/kern_lockf.c.
Filesystems implementing its own locking (NFSv4 as example) can provide
a custom implementation.
Reviewed by: markj, rmacklem
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D34756
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions
