HomeFreeBSD

nfsd: Add vfs.nfsd.testing_disable_grace sysctl

Description

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

Details

Provenance
rmacklemAuthored on Fri, Jan 10, 2:49 PM
Parents
rGbc77aa7df733: release: install etc files from the source tree, not the host
Branches
Unknown
Tags
Unknown