Date: Sat, 1 May 2010 00:50:51 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfs nfs_commonkrpc.c nfs_commonport.c nfs_var.h nfsport.h src/sys/fs/nfsclient nfs_clrpcops.c nfs_clstate.c nfs_clvfsops.c nfs_clvnops.c src/sys/fs/nfsserver nfs_nfsdstate.c Message-ID: <201005010051.o410p0cZ003505@repoman.freebsd.org>
index | next in thread | raw e-mail
rmacklem 2010-05-01 00:50:51 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/fs/nfs nfs_commonkrpc.c nfs_commonport.c
nfs_var.h nfsport.h
sys/fs/nfsclient nfs_clrpcops.c nfs_clstate.c
nfs_clvfsops.c nfs_clvnops.c
sys/fs/nfsserver nfs_nfsdstate.c
Log:
SVN rev 207455 on 2010-05-01 00:50:51Z by rmacklem
MFC: r207170
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.
Revision Changes Path
1.7.2.2 +1 -1 src/sys/fs/nfs/nfs_commonkrpc.c
1.4.2.5 +7 -3 src/sys/fs/nfs/nfs_commonport.c
1.6.2.6 +1 -1 src/sys/fs/nfs/nfs_var.h
1.15.2.3 +4 -4 src/sys/fs/nfs/nfsport.h
1.4.2.5 +14 -12 src/sys/fs/nfsclient/nfs_clrpcops.c
1.7.2.9 +13 -11 src/sys/fs/nfsclient/nfs_clstate.c
1.8.2.3 +3 -3 src/sys/fs/nfsclient/nfs_clvfsops.c
1.13.2.6 +2 -1 src/sys/fs/nfsclient/nfs_clvnops.c
1.10.2.5 +1 -1 src/sys/fs/nfsserver/nfs_nfsdstate.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005010051.o410p0cZ003505>
