Date: Sat, 24 Apr 2010 22:52:14 +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: <201004242252.o3OMqXBk089283@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2010-04-24 22:52:14 UTC FreeBSD src repository Modified files: 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 207170 on 2010-04-24 22:52:14Z by rmacklem 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 Revision Changes Path 1.8 +1 -1 src/sys/fs/nfs/nfs_commonkrpc.c 1.9 +7 -3 src/sys/fs/nfs/nfs_commonport.c 1.12 +1 -1 src/sys/fs/nfs/nfs_var.h 1.18 +4 -4 src/sys/fs/nfs/nfsport.h 1.9 +14 -12 src/sys/fs/nfsclient/nfs_clrpcops.c 1.15 +13 -11 src/sys/fs/nfsclient/nfs_clstate.c 1.10 +3 -3 src/sys/fs/nfsclient/nfs_clvfsops.c 1.20 +2 -1 src/sys/fs/nfsclient/nfs_clvnops.c 1.14 +1 -1 src/sys/fs/nfsserver/nfs_nfsdstate.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004242252.o3OMqXBk089283>