freebsd-skq/sys
Rick Macklem fc0dc94029 nfsd: Reduce the callback timeout to 800msec
Recent discussion on the nfsv4@ietf.org mailing list confirmed
that an NFSv4 server should reply to an RPC in less than 1second.
If an NFSv4 RPC requires a delegation be recalled,
the server will attempt a CB_RECALL callback.
If the client is not responsive, the RPC reply will be delayed
until the callback times out.
Without this patch, the timeout is set to 4 seconds (set in
ticks, but used as seconds), resulting in the RPC reply taking over 4sec.
This patch redefines the constant as being in milliseconds and it
implements that for a value of 800msec, to ensure the RPC
reply is sent in less than 1second.

This patch only affects mounts from clients when delegations
are enabled on the server and the client is unresponsive to callbacks.

MFC after:	2 weeks
2021-05-18 16:17:58 -07:00
..
amd64 x86/xen: further PVHv1 removal cleanup 2021-05-18 10:43:31 +02:00
arm regen syscall files after d51198d63b63 2021-05-13 14:09:58 -04:00
arm64 qoriq_dw_pci: disable LS1028A support 2021-05-14 10:50:17 +02:00
bsm
cam cam: turn KASSERTs into printfs for now 2021-05-16 20:19:19 +01:00
cddl
compat regen syscall files after d51198d63b63 2021-05-13 14:09:58 -04:00
conf Make ISA_206_ATOMICS a kernel option 2021-05-17 08:46:38 -05:00
contrib zfs: restore copyright disclaimer change from 4b84b4cca 2021-04-26 22:16:50 +02:00
crypto
ddb fix style nit: space after if 2021-05-05 15:26:09 -06:00
dev Propagate down USB explore error codes, so that failures to enumerate USB HUBs 2021-05-18 16:11:35 +02:00
dts arm64: rockchip: Add some DTSO to disable sd/mmc 2021-05-13 18:15:31 +02:00
fs nfsd: Reduce the callback timeout to 800msec 2021-05-18 16:17:58 -07:00
gdb
geom gmultipath: make physpath distinct from the underlying providers' 2021-05-06 12:32:27 -06:00
gnu
i386 x86/xen: remove PVHv1 code 2021-05-17 11:41:21 +02:00
isa
kern socket: Release cred reference later in sodealloc() 2021-05-18 15:25:40 -04:00
kgssapi
libkern Use '.arch_extension crc' in the arm64 crc32 code 2021-05-06 07:42:35 +00:00
mips
modules modules: Only build sdhci_fdt for arm and arm64 2021-05-13 20:23:59 +02:00
net Fix a use after free in update_rtm_from_rc(). 2021-05-14 16:06:41 +00:00
net80211
netgraph ng_parse: IP address parsing in netgraph eating too many characters 2021-05-18 22:36:28 +02:00
netinet Do not forward datagrams originated by link-local addresses 2021-05-18 22:59:46 +02:00
netinet6 Fix mbuf leaks in various pru_send implementations 2021-05-12 13:00:09 -04:00
netipsec Add missing sockaddr length and family validation to various protocols 2021-05-03 13:35:19 -04:00
netpfil dummynet: Fix mbuf tag allocation failure handling 2021-05-18 15:25:16 -04:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Add missing sockaddr length and family validation to various protocols 2021-05-03 13:35:19 -04:00
opencrypto cryptodev: Fix some input validation bugs 2021-05-11 17:36:12 -04:00
powerpc powerpc: Rework IPI message processing 2021-05-17 08:26:40 -05:00
riscv riscv: Remove old qemu compatibility code 2021-04-27 16:22:04 -05:00
rpc nfsd: fix a NFSv4.1 Linux client mount stuck in CLOSE_WAIT 2021-04-27 15:32:35 -07:00
security
sys Fix handling of embedded symbolic links (and history lesson). 2021-05-16 17:04:11 -07:00
teken
tests Revise FIB lookups per second benchmarking routines. 2021-05-05 12:28:17 +02:00
tools makesyscalls.lua: improve generated file style(9) compliance 2021-05-13 13:59:25 -04:00
ufs Fix handling of embedded symbolic links (and history lesson). 2021-05-16 17:04:11 -07:00
vm vm: add another pager private flag 2021-05-15 20:47:29 +00:00
x86 x86/xen: further PVHv1 removal cleanup 2021-05-18 10:43:31 +02:00
xdr
xen x86/xen: remove PVHv1 code 2021-05-17 11:41:21 +02:00
Makefile