opnsense-src/sys/fs/nfsserver
Rick Macklem d5ae681d2e nfsd: Make modifying vfs.nfsd.enable_locallocks safe
Commit dfaeeacc2cc2 modified clientID handling so that it could be done
with only a mutex lock held when vfs.nfsd.enable_locallocks is 0.
This makes it unsafe to change the setting of vfs.nfsd.enable_locallocks
when nfsd threads are active.

This patch forces all nfsd threads to be blocked when the value
of vfs.nfsd.enable_locallocks is changed, so that it is done safely.

(cherry picked from commit 67284d32e5e0d5f015d73eeac4342974277263f5)
2024-07-22 17:29:54 -07:00
..
nfs_fha_new.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nfs_fha_new.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
nfs_nfsdcache.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nfs_nfsdkrpc.c nfsserver: Rate-limit messages about requests from unprivileged ports 2024-04-25 09:20:16 -04:00
nfs_nfsdport.c nfsd: Make modifying vfs.nfsd.enable_locallocks safe 2024-07-22 17:29:54 -07:00
nfs_nfsdserv.c nfsd: Fix delegation handled for atomic upgrade 2024-07-04 18:12:26 -07:00
nfs_nfsdsocket.c nfsd: Fix nfsrv_cleanclient so that it can be called with a mutex 2024-07-21 16:06:02 -07:00
nfs_nfsdstate.c nfsd: Allow a mutex lock for clientID handling 2024-07-22 14:57:56 -07:00
nfs_nfsdsubs.c nfsd: Delete an unused VNET global variable 2024-06-21 18:24:36 -07:00