Date: Sun, 25 Apr 2010 01:56:31 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfs nfsclstate.h src/sys/fs/nfsclient nfs_clstate.c Message-ID: <201004250156.o3P1uohJ017074@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2010-04-25 01:56:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/fs/nfs nfsclstate.h sys/fs/nfsclient nfs_clstate.c Log: SVN rev 207180 on 2010-04-25 01:56:31Z by rmacklem MFC: r206818 Avoid extraneous recovery cycles in the experimental NFS client when an NFSv4 server reboots, by doing two things. 1 - Make the function that acquires a stateid for I/O operations block until recovery is complete, so that it doesn't acquire out of date stateids. 2 - Only allow a recovery once every 1/2 of a lease duration, since the NFSv4 server must provide a recovery grace period of at least a lease duration. This should avoid recoveries caused by an out of date stateid that was acquired for an I/O op. just before a recovery cycle started. Revision Changes Path 1.1.2.3 +1 -0 src/sys/fs/nfs/nfsclstate.h 1.7.2.6 +29 -4 src/sys/fs/nfsclient/nfs_clstate.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004250156.o3P1uohJ017074>