opnsense-src/sys/fs/nfsserver
Rick Macklem 84de8c51d1 nfsd: Add vfs.nfsd.testing_disable_grace sysctl
The grace time of 2 minutes plus when the nfsd is started
is needed for normal operation.  It allows client(s) to
recovery open/lock state.  However, for testing situations
where there are no client(s) to recover state, it introduces
an unacceptable delay.

The new per-vnet jail sysctl can be set non-zero to disable
the grace period.  It should only be used for testing and
can be applied on a per-jail basis.  It must be set before
the nfsd is started up.

Requested by:	asomers
Tested by:	asomers
2025-01-10 06:49:45 -08:00
..
nfs_fha_new.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07: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: Default to nfs_reserved_port_only="YES" 2024-04-23 12:54:46 -04:00
nfs_nfsdport.c nfs, rpc: Ensure kernel credentials have at least one group 2024-11-02 21:37:42 +01:00
nfs_nfsdserv.c nfsd: Fix handling of NFSv4 setable attributes 2024-08-27 14:19:33 -07:00
nfs_nfsdsocket.c nfs, rpc: Ensure kernel credentials have at least one group 2024-11-02 21:37:42 +01:00
nfs_nfsdstate.c nfsd: Add vfs.nfsd.testing_disable_grace sysctl 2025-01-10 06:49:45 -08:00
nfs_nfsdsubs.c nfsd: Fix handling of credentials with cr_ngroups == 0 2024-10-21 15:48:39 -07:00