diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2010-04-24 22:52:14 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2010-04-24 22:52:14 +0000 |
commit | 2934027caac0f7153a53a89891140c2d253ed318 (patch) | |
tree | e6cf5a4477f72259db2908562183345a47d6636b /lib/libc/stdlib/labs.c | |
parent | a967e054fa5a752ec970ea92a852df683a7607aa (diff) | |
download | FreeBSD-src-2934027caac0f7153a53a89891140c2d253ed318.zip FreeBSD-src-2934027caac0f7153a53a89891140c2d253ed318.tar.gz |
An NFSv4 server will reply NFSERR_GRACE for non-recovery RPCs
during the grace period after startup. This grace period must
be at least the lease duration, which is typically 1-2 minutes.
It seems prudent for the experimental NFS client to wait a few
seconds before retrying such an RPC, so that the server isn't
flooded with non-recovery RPCs during recovery. This patch adds
an argument to nfs_catnap() to implement a 5 second delay
for this case.
MFC after: 1 week
Diffstat (limited to 'lib/libc/stdlib/labs.c')
0 files changed, 0 insertions, 0 deletions